Fortigate Site-to-Site VPN Phase 2 Mismatch
An IPsec tunnel between two offices showing Phase 1 as successful while no traffic passes through.
Problem
The site-to-site VPN tunnel between headquarters and a branch office showed as 'up' in the Fortigate interface, but no traffic passed between the two sides.
Cause
The Phase 2 selectors (local/remote subnet definitions) didn't match between the two devices, and the PFS (Perfect Forward Secrecy) group setting was enabled on one side but disabled on the other.
Solution
Reviewed Phase 2 negotiation failures via diagnose vpn ike log, aligned the subnet definitions and PFS settings on both sides, re-established the tunnel and verified connectivity with ping/access tests between both sites.
diagnose vpn ike log-filter dst-addr <remote-ip>
diagnose debug application ike -1
diagnose debug enable
get vpn ipsec tunnel details
diagnose vpn tunnel list