Created on
02-19-2022
04:33 AM
Edited on
03-14-2025
06:29 AM
By
Jean-Philippe_P
Description | This article addresses the issue of not being able to reach out to peer IPs when connecting to a non-FortiGate unit with multiple subnets configured. |
Scope | FortiGate. |
Solution |
If there is more than one subnet (both local and remote) configured over the IPsec VPN, there should be more than one phase2 selector configured instead of including multiple firewall addresses in a single firewall deal with group and defining it as a single phase2 selector.
Route-based IPsec VPN. config vpn ipsec phase2-interface
Policy-Based IPsec VPN. config vpn ipsec phase2
It is possible to configure mesh-selector-type.
mesh-selector-type {disable | subnet | host}
Note. This entry is only available when ike-version is set to 1. Disable (by default) or set dynamic mesh selectors for IKEv1 VPNs to either subnet or host.
Note that dynamic selectors are not saved to the configuration and will be removed when tunnels are flushed.
Use the subnet to install a selector for the address group that matches traffic packets.
Use the host to install a selector for the source and destination IP addresses of traffic packets.
Note: The equivalent of the IKEv1 ‘set mesh-selector-type subnet’ setting in IKEv2 is the ‘set initiator-ts-narrow enable’ configured on the phase2-interface.
Related articles: Technical Tip: IKE v2 traffic selector narrowing Technical Tip: Explanation of the IKEv2 Phase2 Setting 'initiator-ts-narrow' |