OpenVPN on multiple interfaces?

Started by geek, December 23, 2020, 08:17:59 AM

Previous topic - Next topic
Is there a way to choose multiple interfaces to run a single openvpn server on? sometimes the primary connection will go down and there's no way for VPN users to get connected. I remember pfsense having this before I migrated to OPNSense

I see that there is an option in the interface as "ANY" I assume that's the solution to this?

December 23, 2020, 09:59:27 AM #2 Last Edit: December 23, 2020, 10:01:04 AM by geek
Tried this option, but out of 3 WAN interfaces. It only works on one.

The other two it gets stuck with the following line:
Wed Dec 23 14:28:06 2020 UDP link local (bound): [AF_INET][undef]:0
Wed Dec 23 14:28:06 2020 UDP link remote: [AF_INET]some.ip.here:1194

(firewall rules are exactly the same on all 3 interfaces)

Moreover. If I just set it to a specific interface, it works fine. Just doesn't work in "ANY"

One workaround would be to bind it to localhost and add port forwards from WAN interfaces and port to localhost and port.
,,The S in IoT stands for Security!" :)