Hello everyone, I hope this finds you well.
This vacation period I took the plunge and migrated from pfSense to OPNSense and I'm trying to recreate the setup I had before but I'm struggling with something:
- I have a VPN server at a remote location and OPNSense is a client of that server
- I created a gateway for that VPN interface and created a static route under: System: Routes: Configuration
- If my default gateway (in firewall rules) is not the Dual WAN GW group, the routing works good, if it is, the static routing stops working
Can you help me with this situation?
Thank you everyone in advance
Instead of creating a static route, create a firewall rule for your LAN (or whatever the source of the connections is), specifying the destination (and source, if you want to), and select your (VPN) gateway there.
Hello and thank you for your fast response. It worked as you said! Thank you again!
It seems that several options on OPNSense are not ready by default for Multi-Wan setups, am I correct?
Thank you
Static routing works on destination address only. Multi WAN frequently needs policy routing also based on source network or address so that goes into the firewall policy.
Got it, thank you for the explanation