Skip to main content
claudyyus
New Member
Jun 23, 2022 3:47 PM UTC
Question

FortiClient VPN command line errors

 FortiClient VPN v.7.0.5.0238 with FortiClientTools

 

   I want to connect to the VPN from the command line. For this I use the auxiliary tool from FortiClientTools.

 

e.g. FortiSSLVPNclient.exe connect -s MyCompanyName i -m -q (No Certificate)

 

    Forticlient ssl vpn connected but no bytes recieved . If I don't use the command line, everything works perfectly.  What is the difference or where is the mistake ?  Specify that if i use an older version of Forticlient I do not encounter this problem. 

 

  

    

12 replies

Anthony_E
Staff
Staff
Jun 26, 2022 6:21 AM UTC

Hello claudyyus,

 

Thank you for using the Community Forum.

I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.

 

Regards,

Translate
Best Regards
Anthony_E
Staff
Staff
Jun 27, 2022 7:56 AM UTC

Hi claudyyus,

 

While I m looking for a solution, I m sharing this documentation with you:

 

https://docs.fortinet.com/document/forticlient/7.0.5/windows-release-notes/371487/introduction

 

It will maybe provide you some interesting information.

 

Regards,

Translate
Best Regards
claudyyus
claudyyusAuthor
New Member
Aug 16, 2022 4:39 AM UTC

Any update ?

Translate
RachelGomez123
New Member
Aug 16, 2022 5:12 AM UTC

Ensure that the version of FortiClient used is compatible with the user’s version of FortiOS.

Export FortiClient debug logs by doing the following:

Go to File >> Settings. Under the logging section, enable “Export logs.”
Set the “Log Level” to debug and select “Clear logs.”
Attempt to connect to the VPN.
Select Export logs after receiving the connection error.

 

This may help you,

Rachel Gomez

Translate
agostinolabruna
New Member
Dec 5, 2022 10:06 AM UTC

Hello, I have the same problem: since I ugraded FortiClient VPN to 7.05 (and to 7.0.7) SSL CMDline does not work, the client connects but bytes received stays at 0.

If I connect using the GUI with the same settings it works.


I noticed that the route is wrong and even the IP that is assigned to the Virtual Adapter

The last version that seems to work is FortiClient VPN 7.0.2. I tested against a variety of versions and 7.0.2 is fine, but as soon as I upgrade the Client to 7.0.5 the cmdline stops working.

Translate
VinnieNZ
New Member
Mar 12, 2023 10:29 PM UTC

I've also had this issue.  7.0.2 is the last version of SSLVPNcmdline that works, as soon as we go to 7.0.3, it stops working (ever since the FCCryptDLL.dll file is added to SSLVPNcmdline).

 

Looking at the network adapter for the VPN, we see that no IP ever get's assigned to the adapter - I'm not sure if this is the cause or just a symptom.

 

I've tried pretty much every version from 7.0.3 up, with the matched main VPN client version, each time I get the same issue.

 

I'm keen to get this resolved, please let me know what further info I can provide so we can progress this.

Translate
Macro
Visitor III
May 29, 2023 10:12 PM UTC

I have this exact issue. It is quite annoying and hopefully it will get resolved soon.

Translate
kvimaladevi
Staff
Staff
May 30, 2023 4:50 AM UTC

Is Split tunnel enabled in this scenario?

 

Regards,

Vimala

Translate
VinnieNZ
New Member
May 30, 2023 8:31 PM UTC

In my scenario, both split and all traffic.

 

Predominantly split tunnel though.

 

More than happy to do testing.

Translate
nmb
New Member
Jun 14, 2023 12:52 PM UTC

Fortinet support says they stop supporting it. A feature request must be submitted for their Dev to look into it. Opening NFR (New Feature Request) is quite complicated too, it must be opened by your account manager or SE (not sure what this means, Sales Engineer?) then cross your finger if Fortinet will look into it. Since it is a free tool, they don't have obligation or whatsoever, but why did they make it available then use at your own risk. 

Translate
VinnieNZ
New Member
Jun 14, 2023 10:50 PM UTC

It's difficult for them to claim they "stopped supporting it", when the .exe for SSLVPNcmdline is being actively updated version on version (and it broke when the introduced an extension to it in the FCCryptDLL.dll file): 

 
 

Screenshot 2023-06-15 104805.jpg

 

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024