Tableau Server Configuration
You must work with your Tableau Administrator for this portion of the setup. Not doing so can cause serious damage to your Tableau Server deployment that we can not help undo.
You will need to allow connections from Confluence to your Tableau Server.
Tsm
Step 1: Ensure that you have no pending changes in Tableau. If this shows changes, make sure you understand what applying them means before proceeding.
tsm pending-changes list
Step 2: Disable trusted ip checking in Tableau
tsm configuration set -k wgserver.extended_trusted_ip_checking -v false
Step 3: Save your existing trusted_hosts configuration
tsm configuration get -k wgserver.trusted_hosts 10.0.0.1, 10.0.10.1, 10.11.12.13. // Save the IPs from this line
Step 4: Find your Confluence Server(s) IP address (e.g. 192.168.1.1)
Step 5: Replace the following example code with your existing trusted_hosts and the Confluence Server(s) IP addresses and run the command
tsm configuration set -k wgserver.trusted_hosts -v "10.0.0.1, 10.0.10.1, 10.11.12.13, 192.168.1.1, 192.168.1.2" // These IPs are examples, please use the ones from your Confluence Server(s), and from Step 2.
Notes
If you have multiple nodes in a Datacenter instance, you need to add all of them
The comma separated list of ip addresses should be within double quotes with a space after each comma.
Confirm that the restart completed
Step 6: Run the following commands to finish the tsm setup
tsm pending-changes apply
Step 7: Go to Confluence App Configuration
Tabadmin
Step 1: Find tabadmin in C:\Program Files (x86)\Tableau\Tableau Server\7.0\bin and run the following command
tabadmin set wg_server.extended_trusted_ip_checking false
Step 2: Save your existing trusted_hosts configuration
tabadmin get wgserver.trusted_hosts 10.0.0.1, 10.0.10.1, 10.11.12.13. // Save the IPs from this line
Step 3: Find your Confluence Server(s) IP address (e.g. 192.168.1.1)
Step 4: Replace the following example code with your existing trusted_hosts and the Confluence Server(s) IP addresses and run the command
tabadmin set wgserver.trusted_hosts "10.0.0.1, 10.0.10.1, 10.11.12.13, 192.168.1.1, 192.168.1.2" // These IPs are examples, please use the ones from your Confluence Server(s), and from Step 2.
Notes
If you have multiple nodes in a Datacenter instance, you need to add all of them
The comma separated list of ip addresses should be within double quotes with a space after each comma.
Confirm that the restart completed
Step 5: Run the following commands to finish the tabadmin setup
tabadmin configure tabadmin restart
Step 6: Go to Confluence App Configuration
Tableau Server behind a Proxy
If Tableau Server is behind a proxy, you will also need to tell Tableau Server to trust connections coming to it through a proxy, this will require additional steps:
Step 1: Ensure that you have no pending changes in Tableau. If this shows changes, make sure you understand what applying them means before proceeding.
tsm pending-changes list
Step 2: Find the hostnames which your Proxy would report
Step 3: Get the existing Proxy options configured in Tableau
tsm configuration get -k wgserver.trusted_hosts 10.0.1.0, 10.1.0.1 tsm configuration get -k gateway.trusted_hosts tserver, tableau-server tsm configuration get -k gateway.public.port 443 tsm configuration get -k gateway.trusted 127.0.0.1, 10.10.1.1 tsm configuration get -k gateway.public.host tableau.example.org
Step 4: Replace the following example code with your hostnames and IP and run the commands.
Remember to add both the ones obtained in Step 2, and the new ones you want to add in Step 3.
tsm configuration set -k gateway.trusted_hosts -v "TableauServer, localhost, tableau" // These should be the hostnames which your Proxy would report. tsm configuration set -k gateway.public.port -v "443" tsm configuration set -k gateway.trusted -v "127.0.0.1, 10.10.10.11" tsm configuration set -k gateway.public.host -v "tableau.example.com" tsm pending-changes apply
Notes
If you have multiple proxy servers, you need to add all of them
The comma separated list of ip addresses should be within double quotes with a space after each comma.
Confirm that the restart completed
Notes
See https://help.tableau.com/current/server/en-us/proxy.htm#reverse-proxy-server for more details on what values to place in each of these.