1
23.1 Legacy Series / Re: Multi-WAN: how to force traffic to one specific gateway?
« on: June 15, 2023, 11:52:37 pm »
Can you add some basic network schema (for example a NwDiag from Kroki) and firewall rules list?
If I got it right:
I guess each router has it's own network address and your LAN is also on a distinct network address.
Usually, to force a WAN for a given destination (host or network), you have to create firewall rule that sets the gateway to the one you want (in your case "DSL-GW" in lieu of "CABLE-DSL").
If I got it right:
- You have to WAN connections, both in a "CABLE-DSL" gateway group:
- Cable, using the "CABLE-DSL" gateway, is at tier 1
- DSL, using the "DSL-GW" gateway, is at tier 2, OPNsense uses IP 192.168.177.1 to contact it
- Failover works: Internet access from your LAN uses Cable if available and continues to work if one of your 2 WAN is down (automatic switches)
- You managed (how?) to access 192.168.177.1 address (DSL-GW's)
- You have other devices on 192.168.177.0/24 network that you want to access but when you try to contact them using their 192.168.177.0/24 IP, OPNsense routes traffic to CABLE-DSL which it discards/reject
I guess each router has it's own network address and your LAN is also on a distinct network address.
Usually, to force a WAN for a given destination (host or network), you have to create firewall rule that sets the gateway to the one you want (in your case "DSL-GW" in lieu of "CABLE-DSL").