Description |
This article describes how to solve an issue when users are not able to connect to the SSL VPN using FortiClient. When trying to connect, it is stuck at 98%. |
Scope | FortiClient. |
Solution |
user=test@fortinet msg="SSLVPN tunnel connection failed" vpnstate= vpntunnel=fortinet vpnuser=test remotegw=vpn.fortinet.com 2/23/2023 11:22:36 AM info sslvpn FortiSslvpn: 13576: fortissl_connect: device=ftvnic 2/23/2023 11:22:36 AM error sslvpn FortiSslvpn: 15344: RasGetEntryPropertiesWin7(fortissl) failed. (r=623) 2/23/2023 11:22:36 AM error sslvpn FortiSslvpn: 15344: error: ssl_connect:-3 2/23/2023 11:22:36 AM error sslvpn FortiSslvpn: 15344: tunnel_to_fgt error 2/23/2023 11:22:38 AM error sslvpn FortiSslvpn: 14544: error: ras_loop(), waitResult=1.
This issue usually occurs due to IPv6 conflicts when the VPN remote gateway FQDN resolves to IPv4 and IPv6 or if the SSL VPN virtual adapter was not properly installed on the endpoint.
There are 3 possible workarounds to resolve this issue:
Disable IPv6 on the network adapter:
Control Panel -> Network and Internet -> Network and Sharing Center -> Select the Network Adapter -> Properties -> Uncheck Internet Protocol Version 6 (TCP/IPv6).
Press Windows Key + R: This key combination opens the Run dialog box. Type 'regedit' in the Run dialog box and press Enter.
Navigate to path as mentioned below:
Location: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
Right-click on the Right Pane and select New -> DWORD (32-bit) Value as mentioned in the image below:
Fill in details as shown below and select OK to save it
Key: DisabledComponents Type: REG_DWORD Value: 0x20
After creating the registry, the PC needs to be rebooted.
<resolve_to_ipv4_only>1</resolve_to_ipv4_only>
This modification is applied from the EMS: EMS -> Endpoint Profiles -> Remote Access -> Select and Edit the profile -> XML -> Edit -> Apply Configuration -> Save.
See the XML Reference Guide.
SSL VPN virtual adapter not properly installed on the PC:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions
Related documents: |
Thank you for writing this article. It is helpful resolving issues where IPv6 is enabled specifically on Windows 11 host.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.