Created on
01-21-2025
06:52 AM
Edited on
01-30-2025
01:47 AM
By
Jean-Philippe_P
Description | The article describes the intermittent disconnection of FortiClient from dialup VPN due to DPD (Dead Peer Detection). |
Scope | FortiGate, FortiClient. |
Solution |
There have been instances where FortiClient experiences random disconnections from the dial-up VPN.
Diagram: The IKE debug information is as follows:
ike V=root:0:ASCL-VPN_0:343765: recv IPsec SA delete, spi count 1 --> FortiGate is receiving the notification to remove the connection from the user station.
Dead Peer Detection (DPD) in VPN is a system that ensures the availability of an IKE peer in an IPsec VPN connection. It assists in identifying when a peer stops responding or becomes unavailable, enabling the VPN devices to immediately restore the connection before it expires. DPD periodically communicates with the peers to confirm their availability and preserve the stability of the VPN tunnel.
The FortiGate receives a notification to remove the connection from the user station. In such cases, disabling DPD on both the firewall and FortiClient can resolve these issues.
To disable the DPD in IPsec VPN, run the below commands: config vpn ipsec phase1-interface end |