slingamn/namespaced-openvpn

Suggestion: Allow multiple OVPNs for fallback in case one is unconnectable

Futureknows opened this issue · 2 comments

Thanks for this great script. Sometimes one of my VPN servers become non-connectable. It would be great if the script allowed a series of OVPNs to be input so if the first fails after several reconnect attempts, it falls back to the second, and so on. Could even repeat in a round robin fashion.

hxka commented

You can specify multiple connections in one file, see https://build.openvpn.net/man/openvpn-2.5/openvpn.8.html#connection-profiles

I'm trying to figure out if this sort of thing might work?
I'm attempting to set this up as a wrapper to this wrapper.
https://github.com/gdmn/nordvpn-wrapper