Configuring connections to the Tanium Core Platform

After you install the Tanium Client on an endpoint, the Client initiates a connection to the Tanium Server or Zone Server that is configured in the initial settings. After installation, you can change the connection settings as necessary through sensors and packages that Tanium provides. You can configure a direct connection to the Server or establish a Transport Layer Security (TLS) tunnel through a Hypertext Transfer Protocol Secure (HTTPS) proxy server.

Settings for connections to Tanium Core Platform Servers

The following settings, which govern connections from Tanium Clients to the Tanium Server or Zone Server, are stored on the Client endpoints.

Tip: For information about methods to configure Client settings, see Modify Client settings. For information about content that you can use to manage these specific settings, see Content for configuring connections to Tanium Core Platform Servers.
Note: For the settings that connect Tanium Clients through HTTPS proxy servers, see Connect through an HTTPS forward proxy server.

ServerNameList

The Tanium Client connects to only one Tanium Server or Zone Server at a time. However, to avoid a single point of failure, you can configure the ServerNameList setting with a list of servers to which the Client can attempt a connection. You specify the Servers as a comma-separated list of FQDNs or IP addresses.

Important: The Tanium Server and Zone Server names in the ServerNameList setting must be fully qualified domain names (FQDNs) or IP addresses that Clients can access from their network location. The Server FQDNs might vary among sets of Clients in different locations and might vary from the FQDNs that you configure locally on the Servers. Consult a network administrator for the Server FQDNs that you must configure on Clients.
Note: Specify FQDNs for this setting.

When ServerNameList has multiple entries, the Tanium Client must select one each time the Client process restarts or the Client resets. The Client randomly selects a Server from ServerNameList without regard to the order in which the servers are listed. However, the Client maintains a count of failed connection attempts, and gives preference to the server with the least failed connections.

The Tanium Client overwrites the value of the ServerName setting with the server that it selects from ServerNameList. The Client then uses that value when requesting a connection to the Tanium Server or Zone Server.

Tip: You can optionally set the port that the Tanium Client uses to communicate with Servers by appending :<port_number> to the Server IP addresses or FQDNs (for example, ts1.local.com:443,ts2.local.com:443,zs1.example.com:443). The ServerNameList port values override the ServerPort setting for the Tanium Client (default is 17472).

ServerName

ServerName specifies the FQDN or IP address of the Tanium Server or Zone Server with which the Tanium Client attempts to connect. Configure ServerName only if you do not configure the ServerNameList setting. If ServerNameList is configured, the Tanium Client overwrites the ServerName value with the server that it selects from ServerNameList.

Important: The Tanium Server or Zone Server name in the ServerName setting must be a fully qualified domain name (FQDN) or IP address that Clients can access from their network location. The Server FQDN might vary among sets of Clients in different locations and might vary from the FQDN that you configure locally on the Server. Consult a network administrator for the Server FQDN that you must configure on Clients.
Note: If you are manually configuring this setting, specify an FQDN.
Tip: You can optionally set the port that the Tanium Client uses to communicate with Servers by appending :<port_number> to the Server IP addresses or FQDNs (for example, ts1.local.com:443,ts2.local.com:443,zs1.example.com:443). The ServerNameList port values override the ServerPort setting for the Tanium Client (default is 17472).

LastGoodServerName

LastGoodServerName stores the name of the Tanium Server or Zone Server to which the Tanium Client last successfully connected. If the Client cannot reach the Server in ServerName or any server in ServerNameList, the Client attempts to connect to the server that LastGoodServerName specifies. Do not set LastGoodServerName; the Client defines it automatically.

ServerPort

ServerPort specifies the port that the Tanium Client uses for communication with the Server and with peer Clients. The default is 17472, but you can configure a custom port. The Client automatically uses ServerPort for connections to the Tanium Servers and Zone Servers that are specified in the ServerNameList and ServerName settings. Specifying the port within those settings is not required. However, if ServerName or ServerNameList does specify a port, it overrides ServerPort.

Tip:

If you configure the ListenPort setting, it overrides ServerPort for communication with peer Clients. You can also randomize the port for client-client communication. For more information, see Customize listening ports

Content for configuring connections to Tanium Core Platform Servers

The Tanium Default Content pack includes sensors and packages to manage the ServerNameList and ServerName settings on the endpoints that host the Tanium Client.

Tip: For information about other methods to configure Client settings, see Modify Client settings.
Table 1. Default content related to ServerNameList, ServerName, and ServerPort

Content

Object Name

Usage

Sensors

Tanium Server Name

Returns the current value of ServerName from the Tanium Client. For a Client on which ServerNameList is configured, you can use the sensor to identify the Tanium Server or Zone Server with which the Client currently connects. For example:

Get Computer Name and Tanium Server Name from all machines

Tanium Server Name List

Returns the current value of ServerNameList from the Tanium Client. For example:

Get Computer Name and Tanium Server Name List from all machines

Tanium Client Explicit Setting

Returns the current value of any Tanium Client setting that you specify. For example:

Get Computer Name and Tanium Client Explicit Setting[ServerPort] from all machines

For the complete list of Client settings that you can specify with this sensor, see Tanium Client settings reference.

Packages

Set Tanium Server Name

Sets the ServerName value on Windows endpoints

Set Tanium Server Name [Non-Windows]

Sets the ServerName value on non-Windows endpoints

Set Tanium Server Name List

Sets the ServerNameList value on Windows endpoints

Set Tanium Server Name List [Non-Windows]

Sets the ServerNameList value on non-Windows endpoints

Configure Clients to connect with multiple Tanium Servers

The following procedure provides an example of how to use the objects listed in the Default content related to ServerNameList, ServerName, and ServerPort table to set the ServerNameList on managed endpoints in a scenario where a second Tanium Server is added to the deployment after the Tanium Client is deployed. In a deployment with both Windows and non-Windows endpoints, repeat the steps for both types of endpoints.

Note: For an example of how to set the ServerNameList on Tanium Clients that register with a Zone Server, see Configure Tanium Clients to register with the Zone Server.
  1. Delete any existing scheduled actions that configure ServerNameList or ServerName to prevent conflicts with the new actions that you create for those settings.
  2. Use Tanium Interact to ask a question that identifies the Tanium Clients that require an updated ServerNameList.

    The following example identifies Tanium Clients that do not include both Tanium Servers (ts1.tam.local and ts2.tam.local, in this example):

    Get Tanium Server Name List and Is Windows from all machines with all Tanium Server Name List not equals "ts1.tam.local,ts2.tam.local"

    Figure 1. Question results identifying Tanium Clients with an outdated ServerNameList
    clients-to-TS2_question_before
  3. In the Question Results grid, select a group of either Windows or non-Windows endpoints that need an updated Tanium Server Name List value and click Deploy Action.
    Note: Windows endpoints and non-Windows endpoints require different packages. If you are updating both Windows and non-Windows endpoints, complete this procedure separately for each group.
  4. Specify one of the following as the Deployment Package:
    • Set Tanium Server Name List for Windows endpoints
    • Set Tanium Server Name List [Non-Windows] for non-Windows endpoints
  5. Enter the FQDNs or IP addresses of both Tanium Servers in the Server Name List field.
    Figure 2. Deploy action package with updated Server Name List values
    clients-to-TS2_action-package
  6. Set a schedule for the action.
    Note: Set a reissue interval if some target endpoints might be offline when you initially deploy the action.
    Figure 3. Action schedule settings
    clients-to-TS-ZS_action-schedule
  7. In the Targeting Criteria section, ensure the settings target Windows endpoints or non-Windows endpoints based on the package that you selected.
  8. Click Show preview to continue and verify that the targeting is correct.
    Figure 4. Action targeting preview
    clients-to-TS2_action-targeting
  9. Click Deploy Action and review the action status to verify that the action completes without errors.

    For more information about the action status, see View status for simple actions.

    Figure 5. Action status for the ServerNameList deployment
    clients-to-TS2_action-status
  10. Use Tanium Interact to ask a question that returns the ServerNameList values from Tanium Clients.

    Get Tanium Server Name List and Is Windows from all machines

  11. Review the Question Results grid to verify that the Tanium Server Name List value includes both Tanium Servers.
    Figure 6. Question results confirming updated ServerNameList values
    clients-to-TS2_question_after
    Note: You might have to wait a few minutes for the results to show the new values. Ensure that live updates Live Updates are enabled for the results grid.

Connect through an HTTPS forward proxy server

If the network policies of your organization prohibit endpoints from connecting through the Internet directly to a Tanium Server or Zone Server, you can configure Tanium Client to establish a TLS tunnel through an HTTPS forward proxy server. For example, an organization might require a proxy for Tanium Clients in remote branch office networks. You might also require a proxy if the Tanium Server functions as a managed security service provider (MSSP) in an isolated network where routing changes are not possible. To prevent a single proxy failure from interrupting Client connections, you can configure Clients to send connection requests to multiple proxies. For more information about using TLS communication, see Secure Tanium Server, Zone Server, and Tanium Client access on Tanium Appliances or Securing Tanium Server, Zone Server, and Tanium Client access in a Windows deployment.

Important:

To use a proxy server with Tanium Clients, your environment must meet the following requirements:

  • The proxy server must use the HTTP CONNECT method for TLS tunneling.

  • The proxy server must not require authentication.

  • The proxy server must not perform SSL/TLS inspection. You cannot use network devices such as firewalls to decrypt and inspect Tanium Protocol traffic between Tanium Clients and the Tanium Server or between peer Tanium Clients.

Use one of the following proxy configuration types:

  • Manually specify proxy servers: Use the ProxyServers setting to explicitly specify the proxy IP addresses or FQDNs and ports. If you specify multiple proxies, the Client tries to connect to the proxies in the order that ProxyServers lists them. After any single connection succeeds, the Client stops trying to connect with more proxies. You must use this method for all non-Windows endpoints.

  • Specify a PAC file (Windows endpoints only): Use the ProxyAutoConfigAddress setting to specify a proxy auto configuration (PAC) file. A PAC file defines how web browsers connect to specific hosts—directly or through specific proxy servers—and defines how the browsers select the correct proxy for each URL. The endpoint downloads the file from the URL that you specify and runs a script that the file contains to select the correct proxy for connecting to a particular Tanium Server or Zone Server.

  • Automatically detect local proxy settings (Windows endpoints only): Use the ProxyAutoDetect setting to detect the proxy configuration in the Windows registry.

Note:
  • Configure only one of the settings on any single endpoint. If you configure ProxyAutoDetect, the Tanium Client ignores the other two settings. If you configure ProxyAutoConfigAddress and ProxyServers together, the Tanium Client ignores the ProxyServers setting.

  • If the specified setting results in no proxy configuration, or if no specified proxy servers are available, the Tanium Client attempts to connect directly to the Tanium Server or Zone Server.

  • Tanium Clients can traverse a proxy only when connecting to a Server. Connections between Clients must be direct.

Figure 7. Connecting through an HTTPS proxy server to Tanium Core Platform Servers
Tanium Clients connecting to on-premises servers through an HTTPS proxy server

Before you begin

Work with your network administration team to perform the following tasks before connecting Tanium Clients to a proxy server:

  1. Configure the proxy server to allow the port that the Client uses for Tanium traffic (default 17472), regardless of any security restrictions that are configured on the Server. For more information, see Network connectivity, ports, and firewalls.
  2. (Windows endpoints only) If Tanium Clients must establish proxy connections through a PAC file, create the file and copy it to a web server that the Clients can access.
Note: Tanium Clients that can connect only through a proxy connection do not connect directly to Tanium Core Platform Servers. Because the Tanium Client Management service requires a direct connection from the Tanium Module Server to Clients, you cannot use Client Management to deploy Clients that cannot connect without a proxy connection. However, you can use Client Management to create a Client deployment template, and then download a tanium-init.dat file for use in another deployment method. For more information, see Manage Client deployments.
Note: Configure proxy server settings during Client deployment.

Configure proxy connections during Client deployment

Use only one of the following methods to configure proxy connections on any given endpoint.

Configure specific proxy servers during Client deployment

On non-Windows endpoints, or on Windows endpoints that cannot access a PAC file, configure the Tanium Client to connect to a proxy server by specifying the proxy IP address or FQDN and the proxy port in the ProxyServers setting. If you specify multiple proxies, the Client tries to connect to the proxies in the order that ProxyServers lists them. After any single connection succeeds, the Client stops trying to connect with more proxies.

Table 2. Methods to set proxy server addresses during deployment

Installation method

OS

Method to set ProxyServers

Client Management

Any

In the Client deployment, select Proxy server for the Proxy setting, which automatically adds the ProxyServers Client setting. Enter the addresses of proxy servers. For more information, see Manage Client deployments.

Command-line interface (CLI)

Windows

Specify the setting as one of the parameters of a silent installation:

CODE
SetupClient.exe ^
/ProxyServers=<FQDN|IPaddress:PortNumber> /S

Non-Windows

Run the following CLI command to configure ProxyServers during the step to configure Tanium Client settings:

CODE
./TaniumClient config set-string ProxyServers \
"<proxy1 FQDN|IP address>:<port>,...,<proxyN FQDN|IP address>:<port>"

For example: ./TaniumClient config set-string ProxyServers myproxy.mydomain.com:17472,myproxy2.mydomain.com:17472

Installation wizard

Windows

Run the following CLI command to configure ProxyServers after completing the wizard:

CODE
TaniumClient config set-string ProxyServers ^
"<proxy1 FQDN|IP address>:<port>,...,<proxyN FQDN|IP address>:<port>"

For example: TaniumClient config set-string ProxyServers myproxy.mydomain.com:17472,myproxy2.mydomain.com:17472

macOS

Run the following CLI command to configure ProxyServers after completing the wizard:

CODE
./TaniumClient config set-string ProxyServers \
"<proxy1 FQDN|IP address>:<port>,...,<proxyN FQDN|IP address>:<port>"

For example: ./TaniumClient config set-string ProxyServers myproxy.mydomain.com:17472,myproxy2.mydomain.com:17472

Configure proxy connections during Client deployment with a PAC file (Windows endpoints only)

For Tanium Clients on Windows endpoints, you can configure proxy connections using a PAC file if one is available.

Configure Tanium Clients to use a PAC file by setting ProxyAutoConfigAddress during Client installation. SeeDeploying the Tanium Client using Client Management orDeploy the Tanium Client to Windows endpoints using the installer for the steps to install the Client.

Table 3. Methods to set a PAC file URL during deployment

Installation method

Method to set ProxyAutoConfigAddress

Client Management

In the Client deployment, select PAC file for the Proxy setting, which automatically adds the ProxyAutoConfigAddress Client setting. Enter the URL of the PAC file. For more information, see Manage Client deployments.

Command-line interface (CLI)

Specify the setting as one of the parameters of a silent installation:

CODE
SetupClient.exe /ProxyAutoConfigAddress=http[s]://<PAC file host URL>/<PAC file name> /S
Note: You might also have to specify the /ServerAddress=<Tanium Server FQDNs|IPs> parameter depending on the Client version and whether a tanium‑init.dat file with the appropriate Server list is available. For more information, see Install the Tanium Client on Windows using the command line.
installation wizard

Run the following CLI command to configure ProxyAutoConfigAddress after completing the wizard:

CODE
TaniumClient config set-string ProxyAutoConfigAddress ^
"http[s]://<PAC file host URL>/<PAC file name>.pac"

Configure automatic proxy detection during Client deployment (Windows endpoints only)

For Tanium Clients on Windows endpoints, you can configure the Tanium Client to use the local proxy configuration in the Windows registry if it is available.

Configure Tanium Clients to automatically detect the proxy configuration in this manner using the ProxyAutoDetect setting during Client installation. SeeDeploying the Tanium Client using Client Management orDeploy the Tanium Client to Windows endpoints using the installer for the steps to install the Client.

Table 4. Methods to set automatic proxy detection during deployment

Installation method

Method to set ProxyAutoDetect

Client Management

Include the ProxyAutoDetect setting as a key with a value of 1 in Client settings. For more information, see Manage Client deployments.

Command-line interface (CLI)

Specify the setting as one of the parameters of a silent installation:

CODE
SetupClient.exe /ProxyAutoDetect=1 /S
Note: You might also have to specify the /ServerAddress=<Tanium Server FQDNs|IPs> parameter depending on the Client version and whether a tanium‑init.dat file with the appropriate Server list is available. For more information, see Install the Tanium Client on Windows using the command line.
installation wizard

Run the following CLI command to configure ProxyAutoConfigAddress after completing the wizard:

CODE
TaniumClient config set-number ProxyAutoDetect 1

Configure proxy connections after Client deployment

You can configure Tanium Clients to establish proxy connections after the initial Client deployment, or change the proxy setting on Clients that already connect to a proxy. In a deployment with both Windows and non-Windows endpoints, repeat the steps for both types of endpoints.

  1. Go to the Tanium Home page and ask the following question to identify the proxy configurations currently in use by Tanium Clients, if any:

    Get Tanium Client Explicit Setting[ProxyAutoConfigAddress] and Tanium Client Explicit Setting[ProxyServers] and Tanium Client Explicit Setting[ProxyAutoDetect] and Is Windows from all machines

  2. Drill down as necessary, select the results for either Windows or non-Windows endpoints that require new or updated proxy connections, and click Deploy Action.
    Note: Windows endpoints and non-Windows endpoints require different packages. If you are updating both Windows and non-Windows endpoints, complete this procedure separately for each group.
  3. Configure the package settings:
    • Deployment Package: Select Modify Tanium Client Setting for Windows endpoints or Modify Tanium Client Setting [Non-Windows] for other endpoints.

    • RegType (Windows only): Select REG_SZ.

    • Type (non-Windows only): Select STRING.

    • Enter one of the following pairs of ValueName and ValueData as appropriate:

      Table 5. Tanium Client proxy connection settings

      ValueName

      ValueData

      ProxyServers

      A comma-separated list of proxy IP addresses or FQDNs and proxy ports in the format <proxy1 FQDN|IP address>:<port>,...,<proxyN FQDN|IP address>:<port>

      For example: myproxy.mydomain.com:17472,myproxy2.mydomain.com:17472

      ProxyAutoConfigAddress (Windows endpoint only)

      A PAC file URL and file name in the format http[s]://<PAC file URL>/<PAC file name>.pac

      ProxyAutoDetect (Windows endpoints only)

      1 to enable automatic proxy detection, or 0 to disable

      Note: It is necessary to configure 0 for this setting on an endpoint only if you have previously created the setting to enable it.
  4. (Optional) In the Schedule Deployment section, set a schedule for the action.
    Note: Set a reissue interval if some target endpoints might be offline when you initially deploy the action.
  5. In the Targeting Criteria section, ensure that the settings target only the endpoints that:
    • Require the updated proxy setting
    • Run the operating system that matches the selected package (Windows or non-Windows)
  6. Click Show preview to continue and verify that the targeting is correct.
  7. Click Deploy Action and review the action status to verify that the action completes without errors.
    Important: Clients do not apply the updated setting until you manually restart them or wait for the automatic Client reset, which typically occurs at a random interval in the range of two to six hours.
  8. (Optional) Restart the Tanium Client service on each endpoint to apply the updated proxy setting immediately:
  9. To verify that Clients have the correct configuration, ask one of the following questions according to the setting you modified.
    • Get Tanium Client Explicit Setting[ProxyServers] and Is Windows from all machines

    • Get Tanium Client Explicit Setting[ProxyAutoConfigAddress] from all machines

    • Get Tanium Client Explicit Setting[ProxyAutoDetect] from all machines