Automatic Switching of OpenVPN Client Interface
We have two sites, each with 2 leased lines that we connect to various cloud providers for somewhat latency sensitive applications.
We're currently using smokeping to monitor each link, and when things are bad, we manually switch the affected openvpn client from one interface (on ISP1) to another interface (on ISP 2), which typically resolves the issue.
I would like to explore ways to automatically detect poor connectivity on an openvpn link (smokeping can notify in various ways), and then switch the relevant openvpn client from one interface to another.
I have just become aware of pfSsh.php, so I'm thinking that could be used in conjunction with some other scripts?