Description | This article describes the scenario when IPSec dial-up VPN is configured but with FortiClient users are unable to connect or experience an infinite login loop until receive the connection timeout. |
Scope | FortiGate, FortiClient, WinOS. |
Solution |
While troubleshooting the IPSec dial-up VPN with the FortiClient VPN client, the IKE debug may show the following debug report.
Generate DH public value request pending message indicates that the FortiGate is in the process of generating its Diffie-Hellman (DH) public key as part of the key exchange process. The DH algorithm is used to establish a shared encryption key between the two communicating devices. This step involves selecting a random private key and computing the corresponding public key, which will later be exchanged with the peer.
Compute DH shared secret request pending means FortiGate is preparing to compute the shared secret key using its private key and the received public key from the remote peer. This shared secret is critical in deriving session keys used for encrypting and securing the VPN traffic.
The issue may appear for the following reasons the mismatch in Diffie-Hellman groups between the FortiGate and the remote device, a network issue preventing key exchange messages from being transmitted properly, or the resource constraint (for example, high CPU usage) delaying the DH computation.
In case the mentioned issues are not triggering but with the correct port, without network issues, and with normal CPU usage still the VPN client is getting connection time out and the debug message is showing the Generate DH public value request pending and Compute DH shared secret request pending it is requested to report to the Fortinet Technical Support team to reveal more scopes about the issue.
Ensure that there is only one DH group in common in phase1 as well as phase2 of the FortiGate and the FortiClient for IPSec dial-up configuration in aggressive mode. (Even if both the FortiGate and FortiClient have multiple DH groups enabled).
Troubleshooting Tip: Dial-up IPsec VPN in aggressive mode when more than one DH Group is selected |
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.