Skip to main content
HossTosson
New Member
Aug 14, 2024 12:09 PM UTC
Question

SSL VPN

configuring ssl vpn on firewall but after finishing, i cannot connect from outside to the internal network using Forti client vpn

17 replies

ozkanaltas
Valued Contributor III
Aug 14, 2024 1:15 PM UTC

Hello @HossTosson ,

 

What kind of error are you getting? Can you share your configuration with us?

 

Also, can you run the following commands while trying to connect to SSL-VPN and share the output with us?

 

diagnose debug application sslvpn -1
diagnose debug enable

HossTosson
New Member
Aug 14, 2024 1:22 PM UTC

you want me to run the above commands in fortigate firewall terminal, right?

johnathan
Staff
Staff
Aug 14, 2024 1:23 PM UTC

Correct, this would be the icon in the top right of your screen that looks like this: >_

Never trust a computer you can't throw out a window.
patelr
Staff
Staff
Aug 14, 2024 1:23 PM UTC

Hello @HossTosson,

 

Please review https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-Possible-reasons-for-FortiClient-SSL-VPN/ta-p/211965 as this document will provide you with a quick overview of the percentage at which your connection is being terminated.  

 

Thanks,

Ronak Patel

HossTosson
New Member
Aug 14, 2024 1:24 PM UTC

the percentage i reach while tryin to connect is 10%

ozkanaltas
Valued Contributor III
Aug 14, 2024 1:26 PM UTC

Hello @HossTosson, 

 

You have a public IP address defined on the FortiGate that can be accessed from all over the world, right?

 

Or is there a device such as a router/modem in front of the FortiGate?

HossTosson
New Member
Aug 14, 2024 1:33 PM UTC

no. i have a router in front of fortigate.

ozkanaltas
Valued Contributor III
Aug 14, 2024 1:36 PM UTC

Hello @HossTosson ,

 

If this router does not directly transfer the public IP address to the FortiGate, you need to perform DNAT for the ssl-vpn port on this router.

 

This is probably the cause of your connection problem.

 

 

HossTosson
New Member
Aug 14, 2024 1:38 PM UTC

sorry i am not that expert with firewall. what do you mean by DNAT?

ozkanaltas
Valued Contributor III
Aug 14, 2024 1:41 PM UTC

Hello @HossTosson ,

 

DNAT means Destination Nat or port forwarding. 

 

This configuration will vary depending on the brand and model of the router. If you search by typing the brand and model of your device and port forwarding or destination nat, you can see configuration examples.

HossTosson
New Member
Aug 15, 2024 9:31 AM UTC

and this port forwarding will be done from the router or firewall?

ozkanaltas
Valued Contributor III
Aug 15, 2024 9:36 AM UTC

Hello @HossTosson ,

 

This should be done on the router.

arahman
Staff
Staff
Aug 15, 2024 8:15 PM UTC

also you can do the sniffer on the FortiGate with the port you are trying to connect the ssl vpn and see if the packets are coming on the FortiGate and what ip it is coming with 
diag sniffer packet any ' port <port number for sslvpn> ' 4 0 l

Shashwati
Staff
Staff
Aug 15, 2024 9:15 PM UTC

Hello , 

 

Please collect the packet capture on Firewall using command while testing connection

 

diagnose sniffer packet any 'host [Firewall public IP address]' 4 0 l

 

Check that IPV6 is disabled on the user machine under  Network Adapter setting

 

 

FortiArt
Staff
Staff
Aug 15, 2024 9:28 PM UTC

Did you confirmed firmware compatibility between fortigate and forticlient. Is this connection problem only for specific user(s) and using specific operating system. Have you tried to disable Windows firewall and other security software and test. Try different forticlient firmware versions. Compare sslvpn configuration on fortigate and foricleint and try to connect using web-mode sslvpn to confirm if this forticlient issue or configuration issue. If forticlient stuck at 10% this indicate a problem on the source PC and traffic is not leaving that PC. If forticlient stuck at %40 this mean authentication problem and you can try to add local user to sslvpn group and test. If forticlient stuck anywhere above 80% this could be connectivity problem and you can run:

 

diagnose vpn ssl debug-filter src-addr4 x.x.x.x <- external ip address of source PC

diagnose debug application sslvpn -1

diagnose debug enable

 

Check the output of the above debug commands that may help in finding the root cause.

 

https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-SSL-VPN-Troubleshooting/ta-p/189542

 

Hope this help

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