Use the Citrix Smart Tools Agent behind a proxy

If your resource location is behind a proxy, the Smart Tools Agent requires a pass-through connection to the proxy server. This topic describes how to configure proxy settings needed to enable the agent to communicate with Smart Tools.

For firewall settings, see Connectivity requirements.

Required environment variables

On Windows and Linux machines, the Smart Tools Agent acquires proxy settings from environment variables configured on the machine hosting the agent. The Smart Tools Agent uses the following environment variables to recognize the proxy server using basic authentication (username and password). These variables are not case sensitive.

  • HTTPS_PROXY=<proxyserver_ip_address>:<port> - For <port>, enter the port your proxy is configured to use for communication to the Internet. Examples: 124.26.30.4:443; 164.224.136.1:80
  • HTTPS_PROXY_USERNAME=<myusername> - If your proxy is configured to require connection credentials, configure this variable. If your proxy is configured for anonymous access, configuring this variable is not necessary.
  • HTTPS_PROXY_PASSWORD=<mypassword> - If your proxy is configured to require connection credentials, configure this variable. If your proxy is configured for anonymous access, configuring this variable is not necessary.

If your proxy server does not have authentication, the Smart Tools Agent will pass traffic over HTTPS through your proxy to the public Internet. If you are using authentication other than basic (e.g., NTLM), the agent traffic will fail authentication. 

Note: The agent will not work with HTTPS proxy content inspection on the SSL session. If the proxy has content inspection, then you must set up a rule on the proxy to pass through traffic from servers where the agent is installed. 

Set environment variables on Windows machines

To ensure the Smart Tools Agent can recognize the proxy server, you must configure the proxy settings as system environment variables on the machine hosting the agent. By default, the agent does not look in IE global settings for proxy setting information. If no environment variables have been set, then the agent assumes there is no proxy configuration.

win-system-vars-highlighted.png

To add system variables, perform the following actions:

  1. Click Start > Control Panel > System and Security > System > Advanced system settings.
  2. On the Advanced tab, click Environment Variables.
  3. In the System variables pane, click New to add each variable. 

Set environment variables on Linux machines

For Linux machines, configure the environment variables in this topic for the root user on the machine hosting the agent. To do this, add each environment variable to the etc\environment file on a separate line. Afterward, restart the machine.

 

0 Comments