Skip to main content
Rid2021
New Member
September 15, 2021
Question

Policy route if VPN down

  • September 15, 2021
  • 2 replies
  • 3402 views

Hi all, I'm forwarding all my branch office traffic to an IPSec VPN with my HeadQuarter office (for security reason). If the VPN is down, i'm losing management access to my Fortigate and all users can't access Internet anymore.

 

I tried two identical 0.0.0.0/0.0.0.0 static routes with same distance / different priority but than didn't work (all trafic still went to the default wan interface, even with an "execute router restart").

So I finally use two identical Policy-route where only the Outgoing interface is different : one goes to the VPN tunnel (position #1), the other one forward trafic to the WAN interface (position #2). While it's working currently, I'm not sure how the Fortigate will behave if my tunnel goes down. When there's a policy match, if the gateway / interface is down, is the policy ignored for the next one ? If not, how can I configure everything properly ? Thanks

    2 replies

    sprasanta
    Staff
    Staff
    June 6, 2022

    Yes , policy route should be ignored if the selected gateway interface state is down so the lookup will happen to the next policy route in list . 

     

    Apart from this , you have option of SD-WAN or Link-monitor which can be implemented to monitor the link and take route decision accordingly . 

    Toshi_Esumi
    SuperUser
    SuperUser
    June 6, 2022

    I recommend this way instead:
    https://community.fortinet.com/t5/Fortinet-Forum/Internet-routing-over-IPsec/td-p/213054

    Policy routes are "sticky".

     

    Toshi