Description
This article describes how to enable 'Policy-Based IPsec VPN' configuration from GUI and CLI.
Scope
FortiGate.
Solution
By default, 'Policy-Based IPsec VPN' configuration is disabled in the GUI.
Refer to the following:
Go to VPN -> IPsec Tunnels, select 'Create new' and 'Custom'.

To enable the 'Policy-Based IPsec VPN':
Go to System -> Feature Visibility, enable 'Policy-based IPsec VPN', and select 'Apply'.
Go to System -> Feature Visibility, enable 'Policy-based IPsec VPN', and select 'Apply'.

To enable the 'Policy-Based IPsec VPN' from the CLI use the following commands:
config system settings
set gui-policy-based-ipsec enable
end
Once applied, go to VPN -> IPsec Tunnels, select 'Create new', 'Custom', and unselect 'Enable IPsec Interface Mode'.
Related documents:
Policy-based IPsec tunnel - FortiGate cookbook
Policy-based IPsec tunnel - FortiGate 6.4.0 administration guide
Policy-based IPsec tunnel - FortiGate 7.0.0 administration guide
Policy-based IPsec tunnel - FortiGate 7.2.0 administration guide
Policy-based IPsec tunnel - FortiGate 7.4.0 administration guide
Policy-based IPsec tunnel - FortiGate 7.6.0 administration guide
Labels: