Richard, a lot depends on what your basic config is. Somehow you need to be able to determine that your primary link has failed and whether that failure is just the VPN tunnel or the link itself and hence also the VPN, and if so which end is at fault.
I use BP ADSL together with VPNs for a lot of my clients so I see ppp interfaces which means that I can do ipsec, dyn dns and firewall things in the /etc/ppp/ip-up.local and /etc/ppp/ip-down.local scripts. If you don't have a ppp interface then you need to think how else you can determine the health of the links. On Wed, 14 Aug 2002, Richard Hayes wrote: > Dear lists, > > It easy enough to create VPN using FreesWan. > With a connection between Sydney <-> Melbourne but I would like to use an > alternate route if the link fails. > > My thinking is to create a script 'ppp-vpn' with the usual stuff but then if > the link does not respond within 10 mins the box runs a scripts > 'vpn-alternate' using a modem and changes the routing table. > > Are there any problems doing this? > > Are there any pre-written scripts that I could modify? > > Any other ideas or suggestions > > regards, > > Richard Hayes > -- Howard. LANNet Computing Associates - Your Linux people Contact detail at http://www.lannetlinux.com "Flatter government, not fatter government." - me Get rid of the Australian states. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
