Citrix Gateway

Proxy Auto Configuration for Outbound Proxy support for Citrix Gateway

When you configure the Citrix Gateway appliance to support Proxy Auto Configuration (PAC), the URL of a PAC file is pushed to the client browser. The traffic from the client is then redirected to the respective proxies as determined by the conditions defined in the PAC file.

Following are some common use cases for PAC for outbound proxy:

  • To configure multiple proxy servers that handle client traffic.
  • To load-balance the proxy traffic across subnets.

Configure Citrix Gateway global parameters to support PAC for outbound proxy by using the CLI

At the command prompt, type:

set vpn parameter -proxy BROWSER -autoProxyUrl <URL>
<!--NeedCopy-->

Configure Citrix Gateway to support PAC in a session profile by using the CLI

At the command prompt, type:

add vpn sessionAction <name> -proxy BROWSER -autoProxyUrl <URL>
<!--NeedCopy-->

Where;

  • URL – URL for the proxy server
  • Name – Name of the VPN sessionAction

Configure Citrix Gateway global parameters to support PAC for outbound proxy by using the GUI

  1. Navigate to Configuration > Citrix Gateway > Global Settings.
  2. On the Global Settings page, click Change Global Settings, and then select the Client Experience tab.
  3. On the Client Experience tab, select Advanced Settings, and then select the Proxy tab.
  4. On the Proxy tab, select Browser, and then select Use Automatic Configuration.
  5. In the URL To Auto Proxy Config File field, type the URL for the required PAC file.
  6. Click Create.

Configure Citrix Gateway to support PAC on Session Profile by using the GUI

  1. Navigate to Configuration> Citrix Gateway> Policies> Session.
  2. On the Citrix Gateway Session Policies and Profiles page, create a Citrix Gateway Session Profile.
  3. Select the Session Profiles tab, click Add, and enter a name.
  4. On the Client Experience tab, select Advanced Settings and then select the Proxy tab.
  5. On the Proxy tab, select Browser, and then select Use Automatic Configuration.
  6. In the URL To Auto Proxy Config File field, type the URL for the required PAC file.
  7. Click Create.
  8. Click Create.