Netgear FVS318Gv2 – ProSAFE VPN Firewall Series User Manual

Page of 129
VPN Client Software Setup and Network Deployment 
102
NETGEAR ProSAFE VPN Client 
To close a VPN tunnel:
Enter the following CLI command:
[path]\vpnconf.exe /close:[NamePhase1-NamePhase2] 
in which
[path]
 is the VPN Client installation directory.
[NamePhase1-NamePhase2]
 are the phase 1 and phase 2 names in the VPN 
configuration file.
If the specified tunnel is already closed, the CLI command does not affect the tunnel status.
Note:
The open and close commands are mutually exclusive.
Close All Active Tunnels and Close the VPN Client
To close all active tunnels and stop the VPN Client:
Enter the following CLI command:
[path]\vpnconf.exe /stop 
in which [path] is the VPN Client installation directory.
This CLI command closes all active tunnels.
Use this CLI command, for example, in a script that starts the VPN Client after establishing a 
dial-up connection and closes it just before disconnecting the dial-up connection.
Import, Export, Add, or Replace the VPN Configuration
To enable the VPN Client to manage a specific configuration file:
Enter the following CLI command:
[path]\vpnconf.exe /import:[ConfigFileName] 
in which
[path]
 is the VPN Client installation directory.
[ConfigFileName]
 is the VPN configuration file name ends with a .tgb extension.
This CLI command does not handle relative paths such as "..\..\file.tgb". Use double 
quotes to specify paths that contain spaces.
You can enter /import: whether or not the VPN Client is running. If the VPN Client is 
already running, it dynamically imports the new configuration and automatically applies it 
(that is, it restarts the IKE service). If the VPN Client is not running, it starts with the new 
configuration.