OPNsense Forum

English Forums => Virtual private networks => Topic started by: geek on December 23, 2020, 08:17:59 am

Title: OpenVPN on multiple interfaces?
Post by: geek on December 23, 2020, 08:17:59 am
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
Title: Re: OpenVPN on multiple interfaces?
Post by: geek on December 23, 2020, 09:45:00 am
I see that there is an option in the interface as "ANY" I assume that's the solution to this?
Title: Re: OpenVPN on multiple interfaces?
Post by: geek on December 23, 2020, 09:59:27 am
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"
Title: Re: OpenVPN on multiple interfaces?
Post by: Gauss23 on December 23, 2020, 07:47:12 pm
One workaround would be to bind it to localhost and add port forwards from WAN interfaces and port to localhost and port.