Skip to main content
alex199
New Member
Jun 28, 2019 4:35 AM UTC
Solved

IPSec Tunnel not passing traffic after link drop

Hi,

 

New here so forgive me if I've not posted this in the correct spot or if it has been asked before (couldnt find it anywhere).

 

I have an IPSec Tunnel configured with a Fortigate 201E at the local end and a Cisco Meraki MX appliance at the other end.

At the other end, we have frequent ISP drop outs (another issue we are working to fix) but it usually comes back up quite quickly. 

The problem for us is that obviously when the link drops, the tunnel drops, but the link usually comes up within a minute or so and I can see the tunnel coming back online on the Fortigate but there is no traffic passing through. I have to manually take down the tunnel on the Fortigate, and it then immediately comes back up and traffic starts passing through.

 

I cant for the life of me work out why traffic does not resume when the tunnel reconnects. 

 

Any ideas?

 

Thanks

Alex

 

Grave_Rose
New Member
Jun 28, 2019 1:42 PM UTC

Hey Alex199,

 

Without getting into logs and debugs, it seems like there's a mismatch on the SAs between the devices when the link flaps where one of them is holding on to an old SA and another is expecting a new one.

 

Do you have Dead-Peer Detection configured inside of Phase-1 on the FortiGate? If not, try turning that on to "On-Demand" which may help recover the session. If you want to get really crazy you could create an automation stitch to send a trigger which can be processed by another box which can then make API calls to reset the tunnel... But try DPD first if it's not already set. :)

 

Hope this helps,

 

Sean (Gr@ve_Rose)

10 replies

Grave_Rose
New Member
Jun 28, 2019 1:42 PM UTC

Hey Alex199,

 

Without getting into logs and debugs, it seems like there's a mismatch on the SAs between the devices when the link flaps where one of them is holding on to an old SA and another is expecting a new one.

 

Do you have Dead-Peer Detection configured inside of Phase-1 on the FortiGate? If not, try turning that on to "On-Demand" which may help recover the session. If you want to get really crazy you could create an automation stitch to send a trigger which can be processed by another box which can then make API calls to reset the tunnel... But try DPD first if it's not already set. :)

 

Hope this helps,

 

Sean (Gr@ve_Rose)

rwpatterson
New Member
Jun 28, 2019 3:39 PM UTC

In the tunnel phase1 (may be phase2, I can't recall) setting, you should be able to 'set autonegotiate enable' to bring the tunnel up when both sides see each other again.

alex199
alex199Author
New Member
Jun 29, 2019 4:38 AM UTC

Hi Bob,

 

Autonegotiate is already enabled. Unfortunately that isnt helping us either!

 

Thanks

Alex

 

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT