Archive > 22.7 Legacy Series

WAN failover scenario

(1/1)

evan:
I have two wan connections.  Both are consumer connections using DHCP.

I would like to send all the traffic from one of my lan subnets out wan2 and the rest out of wan1.

If either wan link fails, I would like all traffic to be routed over the remaining connection regardless of source.

Setting up wan failover seems straightforward from reading but I am not sure I see an easy way to achieve the other goal.

Any advice would be appreciated.

Vesalius:
Create 2 separate gateway groups.

Gateway group 1 - Wan1 is tier 1 and Wan2 is tier 2 (primary Wan1 failover to Wan2)
Gateway group 2 - Wan2 is tier 1 and Wan1 is tier 2 (primary Wan2 failover to Wan1)

Now that you have 2 failover groups, Follow this link https://docs.opnsense.org/manual/how-tos/multiwan.html and choose the appropriate gateway group for each subnet firewall default allow rule and DNS.

evan:
Thanks!  I will try that out in the morning when I actually cut over to the opnsense device.

evan:
This all works really well.  Thanks again for the help!


--- Quote from: Vesalius on August 06, 2022, 08:05:13 pm ---Now that you have 2 failover groups, Follow this link https://docs.opnsense.org/manual/how-tos/multiwan.html and choose the appropriate gateway group for each subnet firewall default allow rule and DNS.

--- End quote ---

The only thing extra thing I had to do was create an alias that contained all my LAN networks and add an inbound pass rule to that destination to bypass the gateway setting.

Navigation

[0] Message Index

Go to full version