Need Multi-WAN assistance, not for Load Balancing or Fail Over

Started by AreYouScared, June 06, 2023, 07:41:36 AM

Previous topic - Next topic
Evening, I currently have dual WANs set up in OPNSense. The goal is to have specific devices use WAN, and for the other clients to use WAN2 while being on the same LAN.

Attached are the rules I currently have, and they seem to mostly work...
Attached is also a flow chart that kinda shows my issues.

While PC is on WAN2, I'm not able to ping the WAN public IP or connect to the domain xyz.com or any of its subdomains hosted on the same server that is using WAN...

I AM able to ping from WAN -> WAN2, with no issues. Just not WAN2 -> WAN

Devices not on the network can also connect to the domain and subdomain without issues.

You need to modify your rule so only internet traffic goes to your WAN2, by specifying "traffic destined to anywhere other than private networks (RFC1918)":

  • Create a Networks alias for RFC1918 networks (10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16).
  • Create a Hosts alias for devices/clients for WAN2, eg: 192.168.1.117, 192.168.1.252 etc.
  • Modify your rule for WAN2: Source: WAN2_CLIENTS, Destination: RFC1918 and turn on the 'Destination/invert'