Description | This article provides different methods to bring down an IPsec tunnel after the parent WAN interface goes down. |
Scope | FortiGate. |
Solution | Bringing down an IPsec tunnel after a WAN interface link failure is important to ensure that traffic failover to the secondary tunnel. This article is meant for a redundancy setup with two WAN connections with an underlying IPsec tunnel as followed. HQ1_to_WH1 is the primary tunnel and HQ2_to_WH2 is the secondary. All traffic to destination 10.10.2.0/24 is sent to HQ1_to_WH1 because the route has a lower distance (10). Solution: Note that each solution listed below achieves the same result and does not have to be configured simultaneously.
Simply replace the Interface port with the one used for WAN.
This can be confirmed by unplugging the wire from the port to simulate a link fail and running the following debug. diagnose debug cli 8 The output will show the command issued by the Automation Stitch.
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.