Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
luccosen
New Contributor II

Connect vpn IPsec client via command line...

Connect vpn IPsec via command line...

I'm using de forticlient  to connecto to a IPsec vpn site, there is any way to do this via command line? because I will use this via Securden PAM to connect, . Can't find any documentation or post with this information. Now I'm using via sslvpn....

6 REPLIES 6
Atul_S
Staff & Editor
Staff & Editor

Hi,

 

I suspect if this can only be acheived using a paid version of the FortiClient but you can try the below steps:

 

-Navigate to the installation path for the FCT in the command prompt.

-Try use the command ipsec.exe <tunnel name>

 

I have tested this and it seems to be working. But I am using the paid version.

 

Thanks,

Atul Srivastava
Atul_S
Staff & Editor
Staff & Editor

Hi,

 

Pls review the below link for more info:

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-start-a-Dial-up-IPsec-tunnel-from/t...

 

Thanks,

Atul Srivastava
luccosen
New Contributor II

Thanks. 

 

but you suggestion in a trial 7.4.4 client not work... 

Atul_S

Hi,

 

I am sure that this will work with the paid version, but I am unable ot test this with a free version yet. However, I suspect it won't work if you don't have a paid license.

 

Thanks,

Atul Srivastava
rosatechnocrat
Contributor III

@luccosen : I have tested this in Free Version as well.  This CLI works on Free version 

 

 

forticlient free.png

Rosa Technocrat --

Also on YouTube---

Please do Subscribe
Rosa Technocrat --Also on YouTube---Please do Subscribe
Atul_S

Hi,

 

That's great and thanks for the confirmation.

 

Its good to know that the earlier response with the link has solved the problem irrespective of the license status. Pls consider mark the initial response as a solution :)

 

Thanks,

Atul Srivastava
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors