Troubleshooting Tip: Not able to reach the local network via IPsec when the IPsec tunnel is UP
| Description | This article addresses the issue of local networks being unreachable despite the IPsec tunnel status indicating as active. |
| Scope | FortiGate. |
| Solution | In this scenario, it is not possible to reach the local network despite the tunnel being active. Only incoming bytes are observed; no return traffic, and sent bytes remain at zero.
Topology:
192.168.0.0/16 — FortiGate — IPsec — FortiGate1 10.33.0.0/16
In this topology, IP 10.33.205.201 attempts to reach 192.168.2.28 over IPsec. Routes are configured but appear inactive.
Debug logs:
Firewall # get router info routing-table details 10.33.0.0
For VPN debugging troubleshoot commands, refer to Troubleshooting Tip: IPsec VPN tunnels.
Solution:
Verify if the IPsec VPN tunnel interface is configured for link monitor or SDWAN performance SLA. Refer to: Technical Tip: How to identify inactive routes in the Routing Table
Restart the routing table during the scheduled downtime or maintenance window. The command to restart the router process:
Another method is to bounce the tunnel. Use the commands below to bring down and bring up the tunnel to resolve the issue. This does not require a downtime to restart the process, as a specific phase2 name is specified.
diagnose vpn tunnel up <phase2 name> diagnose vpn tunnel down <phase2 name>
diagnose vpn tunnel flush <phase2 name>
Note: Since this is a global command, in a multi-VDOM setup, it must be executed from the global VDOM. This should be used during a maintenance window since it impacts traffic across all VDOMs.
Related articles: Technical Tip: Use of Black hole route in site to site IPsec VPN scenarios Troubleshooting Tip: Routing issue: reverse path check fail (bad source) Troubleshooting Tip: Route shows inactive when SD-WAN Performance SLA Configured |
