| setvpnalwaysonprofile_locationbasedvpn |
Use this method to set option to decide if tunnel should be established when in enterprise network. When locationBasedVPN is remote, client tries to detect if it is located in enterprise network or not and establishes the tunnel if not in enterprise network. Dns suffixes configured using -add dns suffix- are used to decide if the client is in the enterprise network or not. If the resolution of the DNS suffix results in private IP, client is said to be in enterprise network. When set to EveryWhere, the client skips the check to detect if it is on the enterprise network and tries to establish the tunnel |
Syntax |
Parameters |
name |
Name for the AlwaysON profile. This is mandatory parameter. |
locationbasedvpn |
Option to decide if tunnel should be established when in enterprise network. When locationBasedVPN is remote, client tries to detect if it is located in enterprise network or not and establishes the tunnel if not in enterprise network. Dns suffixes configured using -add dns suffix- are used to decide if the client is in the enterprise network or not. If the resolution of the DNS suffix results in private IP, client is said to be in enterprise network. When set to EveryWhere, the client skips the check to detect if it is on the enterprise network and tries to establish the tunnel Default value = VPNSESSACT_ALWAYSONLOCATION_REMOTE. Possible Values : Remote, Everywhere. |
Return Value |
Returns simpleResult |
See Also |