By default, Horizon Connection Server instances set the gateway location to Internal and security servers set the gateway location to External. You can change the default gateway location by setting the gatewayLocation property in the locked.properties 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" in the Configuring Remote Desktop Features in Horizon 7 document.

Procedure

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

    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 locked.properties file.
  4. Restart the VMware Horizon Connection Server service or the VMware Horizon Security Server service to make your changes take effect.