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

How to connect/disconnect FortiClient 7.2 from Windows Command Line?

Hello,

I would like to be able to connect and disconnect a FortiClient VPN tunnel using the Windows Command line.

Is this possible? If so, what is the command and syntax please?

Clients are running Windows 10 or 11.

FortiClient 7.2.4 (full version deployed via EMS).

Many thanks!

5 REPLIES 5
ozkanaltas
Valued Contributor III

Hello @mattw ,

 

You can review these article.

 

https://community.fortinet.com/t5/FortiClient/Technical-Tip-How-to-use-FortiClient-SSL-VPN-from-the-...

 

https://community.fortinet.com/t5/Support-Forum/FortiClient-VPN-command-line-windows/m-p/25425

 

 

If you have found a solution, please like and accept it to make it easily accessible to others.
NSE 4-5-6-7 OT Sec - ENT FW
If you have found a solution, please like and accept it to make it easily accessible to others.NSE 4-5-6-7 OT Sec - ENT FW
mattw
New Contributor III

Thanks for this @ozkanaltas but I had already tried that. There is no "FortiSSLVPNclient.exe" within the FortiClientTools_7.2.4.0972.zip archive and nothing that looks like it does similar (unless I'm going mad of course).

The links are for FortiClient 5.x so I guess they've changed how it works with 7.2.

hbac

Hi @mattw,

 

The article provided is still valid. Have you tried a different version? 

 

Regards, 

mattw
New Contributor III

Thank you. I have installed version 7.2.3 of the FTC tools but running the command "FortiSSLVPNclient.exe disconnect" doesn't do anything. No error message. But the tunnel does not disconnect. Any ideas at all?

hbac

@mattw,

 

It worked in my lab. I'm using 7.0.9.

 

Regards, 

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors