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.
- 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.propertiesThe properties in the locked.properties file are case sensitive.
- Add the following line to the locked.properties 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
- Save the locked.properties file.
- Restart the VMware Horizon Connection Server service or the VMware Horizon Security Server service to make your changes take effect.