[Openswan Users] Require help for gateway failover condition to keep tunnel establised

Paul Wouters paul at xelerance.com
Wed Sep 6 09:38:42 EDT 2006

On Wed, 6 Sep 2006, utkarsh shah wrote:

>     i have two wan links from different ISPs.
>     and have tunnel using one ISP which provides me higher bendwidth.
>     i would like to create a tunnel such a way that if it gets failed then another tunnel comes up..
>     i can execute a script when i detect gateway as dead.
>     please suggest me configuration and way using which i can establish such tunnel.
>     one way i thought is change left when i detect gateway dead and try to establish connection.
>     do we have any way to execute a script on dpd.

Use a custom leftupdown= script?
See http://www.xelerance.com/talks/ for advanced setups using heartbeat or OSPF.

Building and integrating Virtual Private Networks with Openswan:

More information about the Users mailing list