Description
This article explains how to connect to an IPSec VPN tunnel from a DOS prompt. All commands must by run as the Administrator.
In a DOS prompt window, under the default installation folder of Fortclient (C:\Program Files (x86)\Fortinet\FortiClient), enter:
ipsec.exe Tunnel_namewhere Tunnel_name is the name of the IPSec tunnel that was entered in the VPN tab under “Name”.
To display the debug information of the VPN connection enter:
ipsec.exe -d <verbose level> Tunnel_name
.
Use the following command to open the tunnel:
start /B ipsec.exe -k
Enter the following command to close a VPN tunnel:
ipsec.exe quit
Scope
All FortiClient users.
Solution
Labels: