Knowledge Search


×
 

[ScreenOS] Timeout VPN when traffic is not flowing through the tunnel

  [KB28703] Show Article Properties


Summary:

This article describes how to bring down the VPN if the traffic is not flowing through the tunnel.

Symptoms:

Cause:

Solution:

Use a timeout option in the VPN phase 2 configuration.

Note: This can be configured only from the CLI.

Example

Traffic is not flowing continuously through a tunnel for five minutes.

Change the configuration by running the following command:

set vpn "test" gateway "test" no-replay tunnel idletime 5 sec-level basic

idletime number is the length of time, in minutes, that a connection can remain inactive before the security device terminates it.

Now, if the traffic does not flow for five minutes, the VPN SA will expire and the following event log will be generated:

2014-01-13 05:55:46 system info 00536 Phase 2 SA for tunnel ID 1 has been
idle too long. Deactivated P2 SA and
sent a Delete msg to peer.

Related Links: