OPNsense Forum

English Forums => General Discussion => Topic started by: metalcoat on September 05, 2025, 01:54:29 PM

Title: 2 ISPs, 2 Networks, PBR per vlan
Post by: metalcoat on September 05, 2025, 01:54:29 PM
Hello,

I haven't yet purchased any equipment but am coming from a unifi setup.

I have two networks:
192.168.1.0/24 - ISP1
192.168.3.0/24 - ISP2

They are connected via a wireless bridge.

I have two wlans(vlans) setup on each network that allows traffic to go out a defined ISP.

This setup is broken now with unifi and I only have it working one way.

I would like to set this back up by moving to another solution. Is this possible with OPNsense?

HA would be nice to have with this setup but isn't ultimately a requirement at this time.

Title: Re: 2 ISPs, 2 Networks, PBR per vlan
Post by: pfry on September 05, 2025, 02:32:23 PM
Quote from: metalcoat on September 05, 2025, 01:54:29 PM[...]
I have two networks:
192.168.1.0/24 - ISP1
192.168.3.0/24 - ISP2

They are connected via a wireless bridge.

I have two wlans(vlans) setup on each network that allows traffic to go out a defined ISP.

This setup is broken now with unifi and I only have it working one way.

I would like to set this back up by moving to another solution. Is this possible with OPNsense?

HA would be nice to have with this setup but isn't ultimately a requirement at this time.

Have you checked out the documentation (https://docs.opnsense.org/manual/firewall.html#policy-based-routing)? HA is also offered. I have not used either, but plenty here have/do.
Title: Re: 2 ISPs, 2 Networks, PBR per vlan
Post by: metalcoat on September 05, 2025, 04:01:15 PM
Yes, I've sifted through it.  My question would be 2 OPN devices connected via the wireless bridge port to port.  I know I can accomplish this if both ISPs were at the same location but that is not possible at the moment.
Title: Re: 2 ISPs, 2 Networks, PBR per vlan
Post by: pfry on September 05, 2025, 06:34:42 PM
Quote from: metalcoat on September 05, 2025, 04:01:15 PMYes, I've sifted through it.  My question would be 2 OPN devices connected via the wireless bridge port to port.  I know I can accomplish this if both ISPs were at the same location but that is not possible at the moment.

I didn't catch the "two firewalls" detail - that sounds like an active/active HA setup. You might want to throw up a diagram.
Title: Re: 2 ISPs, 2 Networks, PBR per vlan
Post by: metalcoat on September 08, 2025, 03:30:22 PM
This is the current diagram with UDM, but as I said the ruleset I previously used with Unifi no longer works.