Typing to myself this far…
I’ve manage to do a work around with two static routes. As the issue seems to only be with resolving the hostname in OpenVPN Client, and I have two Domain overrides.
Why not just put them as separate static routes to each WAN?
Static routes (System > Routing > Static Routes)
OpenVPN_ns1 > WAN1
OpenVPN_ns2 > WAN2
This actually works, tunnel brings up on WAN2 and I can confirm traffic flow but after a couple of minutes when simulating member down (WAN1 unplugged)… Then the tunnel brakes with a flood of new message in the log.
OpenVPN log
write UDPv4: No buffer space available (code=55)
Getting same message in the console of pfSense trying to ping something.
[2.3.1-RELEASE][admin@-]/root: ping x.x.x.x
PING x.x.x.x (x.x.x.x): 56 data bytes
ping: sendto: No buffer space available
ping: sendto: No buffer space available
Can someone explain why that is happening?
As soon I bring up WAN1 again everything is working normally.
Thanks
compfreak