[Openswan Users] Dual VPN , Backup / Primary

Binand Sethumadhavan binand at gmx.net
Mon Jun 17 14:12:10 UTC 2013

Not out of the box as far as I can tell, but you can write a script
that would detect VPN failures (perhaps ping the remote gateway's
source IP) and swap config files and restart the VPN service. Another
option is to generate an SNMP trap upon VPN failure and let the trap
collector (Nagios would be ideal) execute the swap script. Somewhere
you might need to build intelligence to handle flaps (Nagios does

If this is for EC2 VPC, I could never get it to work - so will be
interested if you did. :-) Please keep me/this list posted.


On 17 June 2013 19:13, Luis Nagaki <luis.nagaki at gmail.com> wrote:
> Hey Guys, is there a way to setup if the Main VPN Goes down for it to try
> the 2nd. BUT to never use both? dont want i to go crazy if both lines are
> up.
> _______________________________________________
> Users at lists.openswan.org
> https://lists.openswan.org/mailman/listinfo/users
> Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155

More information about the Users mailing list