IPSEC VPN Needs to be disconnected when there is no traffic


Changes to the LIVEcommunity experience are coming soon... Here's what you need to know.

L1 Bithead

IPSEC VPN Needs to be disconnected when there is no traffic

We have several IPSec tunnels that connect to 4G devices to provide network access in the event of a primary circuit outage. These tunnels do not disconnect after the primary circuit comes back up. Is there a way on the PAN side to disconnect an IPSec tunnel if there has been no traffic on it in a given amount of time?

we are using IKE V1 and static route


Community Team Member

Hi @snimshad ,


Have you set up some PBF failover ?

Can you add some more details on your config ?



Tags (1)
L1 Bithead


there is no pbf failover set up as of now...tunnel monitoring is in place to monitor the liveness of peer.

Cyber Elite


Tunnel monitoring send pings across the tunnel. This is why it is always active. What I have done in the past is setup a PBF policy to use the main connection first and then the tunnel second.


Hope that helps.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!