By default, Horizon Connection Server instances set the gateway location to Internal. You can change the default gateway location by setting the gatewayLocation property in the file.

The gateway location determines the value of the ViewClient_Broker_GatewayLocation registry key in a remote desktop. You can use this value with Smart Policies to create a policy that takes effect only if a user connects to a remote desktop from inside or outside your corporate network. For more information, see Using Smart Policies.


  1. Create or edit the file in the TLS/SSL gateway configuration folder on the Horizon Connection Server.
    For example: install_directory\VMware\VMware View\Server\sslgateway\conf\
    The properties in the file are case sensitive.
  2. Add the following line to the file:

    value can be either External or Internal. External indicates that the gateway is available for users outside the corporate network. Internal indicates that the gateway is available only for users inside the corporate network.

    For example: gatewayLocation=External
  3. Save the file.
  4. Restart the VMware Horizon Connection Server service to make your changes take effect.