Hi guys,
I'm trying to configure a failover using 2 Zeroshell as server, 2 linux machine as client, 2 ISP and 2 connection.
This is the schema
https://dl.dropboxusercontent.com/u/3145586/vpn_failover.pdf
The idea is to have a full failover when a connection stop working ore even when a whole machine goes down.
I configured 4 VPN, 2 for each server.
The first of each go to LINUX1 and the 2nd goes to LINUX2
When all the connection are working everything is ok but when the first stop working i cannot send packet anymore
I tried to configure static routing with different metrics but sometimes the VPN connections goes down even if the interface is up so the 2nd route is not taken in consideration.
I tried to write a script that check the other side of vpn (the server) and if isn't reachble just remove the route for the default gateway and set the failover but in this case i must connect both VPN to the same server (even using 2 ISP) because if I try to connect to different servers the packet are not correctly routed.
DO you have any suggestion?
Many thanks