Skip to main content
VinayHM
Staff
February 11, 2026

Troubleshooting Tip: Unable to establish the dial-up VPN connection as it gets stuck at the X Auth stage

  • February 11, 2026
  • 0 replies
  • 380 views
Description This article describes an issue where dial-up VPN users are not getting authenticated, even for local users, on a FortiGate device.
Scope FortiGate.
Solution

After validating the configurations for Phase 1 and Phase 2, all settings are correct.

All parameters for Phase 1 and Phase 2 matched, and the x-auth configuration is properly in place.

However, the user is still unable to connect to the VPN, as the x auth is being denied.

For VPN debugging troubleshoot commands, refer the following article: Troubleshooting Tip: IPsec VPN tunnels.

 

Note: The debugging results below come from enabling debugging in the linked article.

 

2025-05-11 10:17:29.727061 ike V=root:0:Temp_0:6: received XAUTH_USER_NAME 'test1' length 8
2025-05-11 10:17:29.727076 ike V=root:0:Temp_0:6: received XAUTH_USER_PASSWORD length 12
2025-05-11 10:17:29.727091 ike V=root:0:Temp_0: XAUTH user "test1"
2025-05-11 10:17:29.727137 ike V=root:0:Temp_0: XAUTH 2224875069443 pending
2025-05-11 10:17:29.734560 ike V=root:0:Temp_0:6: XAUTH 2224875069443 result FNBAM_ERROR
2025-05-11 10:17:29.734582 ike V=root:0:Temp_0: XAUTH failed for user "edradmin", retry(2). <----- Fortinet backend auth module is getting failed.

 

This issue occurs because the fnbamd daemon is being invoked multiple times, likely due to resource constraints - either CPU or memory allocation.

 

diagnose system top 2 20

fnbamd 2073 S 99.9 4.2 0  <----- Consuming high CPU.
initXXXXXXXXXXX 1 S 0.4 1.9 0
ipsengine 2309 S < 0.0 7.1 0
wad 2164 S 0.0 3.6 0  

 

Another reason is that the daemon is crashing.

 

diagnose debug crashlog read

 

One of the reasons for the daemon fnbamd crashing is enabling HTTPS on the WAN interface. Invalid users may trigger a DoS attack on the WAN interface, causing fnbamd to crash or consume high CPU or memory resources. As a result, fnbamd becomes unavailable for new authentication requests, leading to dial-up VPN users failing to authenticate. Consequently, the dial-up VPN connections fail.

 

Solution: Disable HTTPS on the WAN interface. Before disabling the HTTPS option on the WAN, ensure access to the firewall through LAN cables or via VPN is available.