Home > Configuration > SSL VPN > setvpnalwaysonprofile_networkaccessonvpnfailure

setvpnalwaysonprofile_networkaccessonvpnfailure

Use this method to set option to block network traffic when tunnel is not established(and the config requires that tunnel be established). When set to onlyToGateway, the network traffic to and from the client (except Gateway IP) is blocked. When set to fullAccess, the network traffic is not blocked

Syntax



Parameters

name

Name for the AlwaysON profile.
This is mandatory parameter.

networkaccessonvpnfailure

Option to block network traffic when tunnel is not established(and the config requires that tunnel be established). When set to onlyToGateway, the network traffic to and from the client (except Gateway IP) is blocked. When set to fullAccess, the network traffic is not blocked
Default value = VPNSESSACT_ALWAYSONNETWORKACCESS_FULL.
Possible Values : onlyToGateway, fullAccess.

Return Value

Returns simpleResult

See Also