Hello,
for any reason my Multi WAN configuration is not working anymore... I set two gateways and two interfaces and everything worked fine until the new version. Then I had problems with the IP monitoring and since I disabled the monitoring the line was stable.
I set rules that all goes through WAN1 and only the traffic of one single IP goes through WAN2, but for any reason the computer receives nothing when using WAN2!!!
I set a rule as usual "if source IP like x.x.x.x then use gateway WAN2"... if that rule is enabled, the browser opens nothing. When I disable that rule, it uses WAN1 and all works fine.
WAN2 is online and working fine and when I ping the WAN2 gateway using the OPNSense console, all looks great.
That configuration worked fine the last months... any idea what could cause that?
Regards :)
Just found the reason for my problems... if I set my connection to WAN2, seems DNS is not working anymore! I already set several DNS servers in the settings (General > Settings > System) and selected the gateway for each one.
If I set a public DNS server on the computer, everything works fine. Any idea why DNS doesn't work in that configuration? I configured Unbound on the OPNSense and all devices got the IP address of the OPNSense as DNS set.
If Opnsense is running as DNS Proxy, you should add a firewall rule in LAN interface allowing this packet.
This rule should be placed before the one defining the gateway.
Hope this helps