OpenVPN client or server on GWG does not failover
If I have a GWG "OpenVPNGWG" with WAN1=tier1, WAN2=tier2 then the initial OpenVPN client or server on "OpenVPNGWG" comes up correctly on WAN1. If WAN1 goes down, it does not failover to WAN2. Happens on systems with real NICs for WAN1 and WAN2, and systems with VLANs for WAN1 and WAN2.
Edit/Save of the OpenVPN instance will cause it to correctly evaluate the GWG state and select the best WAN.
#6 Updated by Phillip Davis over 7 years ago
Tested with the 2.1 branch version of rc.openvpn
It successfully writes new servern.conf and clientn.conf files for the new highest-tier interface/gateway when the highest is unplugged. Writes them again when the highest-tier is reconnected. OpenVPN instances fail over and back. All good.
Now I need to get rid of "killed: out of swap space" and everything would actually restart nicely - but I can't blame the lack of memory in the Alix on this code!