Skip to main content
Contributor
May 11, 2005

Troubleshooting Tip: Connect to a VPN Dial-Up tunnel from DOS

  • May 11, 2005
  • 0 replies
  • 1412 views

 

Description This article describes how to connect a VPN Dial-Up tunnel from a DOS Prompt.
Scope

All versions of FortiClient.

Solution

To connect to a VPN tunnel from a DOS prompt

In a DOS prompt window, under the default installation folder of FortiClient (C:\Program Files\Fortinet\FortiClient), enter...

ipsec.exe Tunnel_namewhere Tunnel_name is the name of the IPSec tunnel entered in the VPN tab under 'Name'.

 

It is also possible to enter ipsec.exe -d Tunnel_name. This will display the debug information of the VPN connection.

Use the following command to open the tunnel without showing the DOS window: A good addition to the remark would be to use the command:


start /B ipsec.exe -k

 

 

To close a VPN tunnel, it is possible to enter the command ipsec.exe quit, to bring down the VPN Tunnel.