FortiClient
FortiClient proactively defends against advanced attacks. Its tight integration with the Security Fabric enables policy-based automation to contain threats and control outbreaks. FortiClient is compatible with Fabric-Ready partners to further strengthen enterprises’ security posture.
mmishra_FTNT
Staff
Staff
Article Id 190253

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 FortiClient (C:\Program Files (x86)\Fortinet\FortiClient), enter:
 
ipsec.exe Tunnel_name <----- Where Tunnel_name is the name of the IPSec tunnel that was entered in the VPN tab under 'Name'.


Scope

 

FortiClient.


Solution

 

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