Running the Global VPN Client from the Command Line Interface
The SonicWall Global VPN Client can run from the Command Line Interface (CLI). This interface allows for the programmatic or script-based initiation of certain Global VPN Client functions without requiring the user to directly act in the Global VPN Client application. The Global VPN Client CLI enables the setting up of scripts that automatically initiate a secure tunnel anytime a particular application or connection method is started.
The CLI commands require the use of a complete path name to the Global VPN Client application followed by various flags and variable information such as username or password.
Alert! Embedding a user’s password directly in a script is a security risk. Anyone who can gain access to the script can read the password to circumvent security. It is recommended that scripts or programmatic dashboards ask for the password before initiating a connection and then clear the variable.
Command Line Options
You can use the following options to perform a variety of Global VPN Client actions from the command line.
Command Line Examples