Technical Tip: Password-policy applied to IPsec pre-shared keys is not compatible with dialup peertype
| Description | This article describes a known issue where an IPsec tunnel configuration is deleted after a device reboot if the peertype is set to dialup and password-policy is enforced for IPsec pre-shared keys.
This occurs because VPN tunnels with 'set peertype dialup' do not support pre-shared key authentication, but were incorrectly checked for compliance with the password-policy. |
| Scope | FortiGate v7.4.8, v7.6.4, and all earlier firmware versions supporting system password-policy. |
| Solution | If a system password-policy is enforced for IPsec pre-shared keys, a VPN configured with the 'Dialup Group' peertype is removed after a reboot.
config system password-policy set status enable set apply-to ipsec-preshared-key end
config vpn ipsec phase1-interface edit "RAVPN" <-- In affected firmware versions, will be removed after reboot. set peertype dialup set usrgrp "test-grp" next end
Example configuration:
config system password-policy
config user local edit "test" set type password set passwd anypassword1234 next
config user group
FGT # diagnose debug config-error-log read This issue has been resolved in:
These timelines for firmware release are estimates and may be subject to change. |


