Skip to main content
Zeineb
Visitor III
Oct 14, 2026 6:56 AM UTC
Question

IKEv2 IPsec VPN – Negotiation Timeout During OTP Authentication

FortiClient IKEv2 IPsec VPN – Negotiation Timeout After 30 Seconds During RADIUS/EAP OTP Authentication

Hello everyone,

I'm experiencing an issue with an IKEv2 IPsec remote-access VPN using RADIUS/EAP authentication with MFA/OTP, and I would appreciate your feedback or any similar experiences.

Environment

  • FortiGate: FortiOS 7.6.6

  • FortiAuthenticator: 6.6.8

  • FortiClient: 7.4.8 (ZTNA)

  • VPN: IPsec IKEv2 Remote Access

  • Authentication: RADIUS/EAP with MFA/OTP

  • RADIUS server: FortiAuthenticator

Issue description

The issue occurs regardless of the OTP delivery method. We have reproduced it with:

  • FortiToken Mobile

  • SMS OTP

  • Email OTP

When the user enters the OTP within approximately 30 seconds, authentication succeeds and the VPN tunnel is established normally.

However, if OTP entry takes longer than approximately 30 seconds, FortiClient remains in the "Connecting" state. The connection eventually fails with an IKE negotiation timeout, and the tunnel is not established.

Important observation: Different behavior with FortiClient VPN-only 7.4.3.4726

During testing, we discovered a significant difference with FortiClient VPN-only 7.4.3.4726.

With this version, the VPN connection succeeds even when the negotiation takes approximately 55 seconds.

However, with the other FortiClient versions and types we tested, including VPN-only and ZTNA, the connection fails when the negotiation exceeds approximately 30 seconds.

These tests were performed against the same IPsec VPN tunnel.

This raises the question of whether different FortiClient versions handle IKEv2 negotiation or EAP authentication timeouts differently.

Timeout settings already increased

We have already increased the relevant timeout settings on the FortiGate:

IPsec Phase 1:

config vpn ipsec phase1-interface
edit "VPN"
set negotiate-timeout 300
next
end

Global authentication settings:

config system global
set remoteauthtimeout 300
set two-factor-email-expiry 300
set two-factor-ftm-expiry 72
set two-factor-sms-expiry 60
set two-factor-fac-expiry 100
end

RADIUS timeout:

config user radius
edit "ZTNA-F"
set timeout 300
next
end

Despite these settings, the approximately 30-second failure persists with the affected FortiClient versions.

Questions

  1. Is there a FortiClient-specific timeout that can terminate an IKEv2 negotiation after approximately 30 seconds, regardless of the FortiGate timeout settings?

  2. Could this behavior be related to differences in EAP/RADIUS authentication handling between FortiClient VPN-only 7.4.3.4726 and newer versions?

  3. Has anyone encountered a similar issue with FortiClient 7.4.x, FortiOS 7.6.x, and FortiAuthenticator-based OTP authentication?

  4. Is there a recommended configuration or known fix that allows the user more time to receive and enter the OTP?

Any suggestions, technical explanations, or references to relevant known issues would be greatly appreciated.

Thank you in advance for your help!

6 replies

Umesh
Explorer II
Oct 14, 2026 7:15 AM UTC

Try increasing timeout in phase setting-

 

 set idle-timeout enable
 set idle-timeoutinterval 300

Translate
Zeineb
ZeinebAuthor
Visitor III
Oct 14, 2026 7:47 AM UTC

thank you for your help but it doesn’t resolve the issue 

Translate
sjoshi
Staff
Staff
Oct 14, 2026 8:25 AM UTC

Answers to your specific questions

Is there a FortiClient-specific timeout that terminates IKEv2 after ~30s? timer are specific to FGT not FortiClient

Could this be EAP/RADIUS handling differences between FortiClient versions?
it could be rather how FortiClient process the traffic

Has anyone encountered a similar issue with FortiClient 7.4.x, FortiOS 7.6.x, and FortiAuthenticator-based OTP authentication?
there is a known issue(FortiGate does not utilize timeout timers correctly for 2FA when Remote Access over FortiClient VPN IPSec (IKEv2)) which has fix in 7.4.8 and 7.6.3 , what is your version of FGT

I would suggest to collect ike debug and check FortiClient diagnostic output

Translate
Thanks, Salon
Zeineb
ZeinebAuthor
Visitor III
Oct 14, 2026 8:33 AM UTC

hello sjoshi , thank you for your help

  • FortiGate: FortiOS 7.6.6

  • FortiAuthenticator: 6.6.8

  • FortiClient: 7.4.8 -7.4.3(ZTNA)

the problem is that when i used forticlient onlyvpn with specific version 7.4.3.4726  it respects the negotiation timeout otherwise or version same problem

 

Translate
sjoshi
Staff
Staff
Oct 14, 2026 9:11 AM UTC

you mean  FortiClient VPN-only 7.4.3.4726 works fine but other version fails?

Translate
Thanks, Salon
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