OPNsense Forum

English Forums => General Discussion => Topic started by: clownschiff on October 12, 2023, 02:01:32 PM

Title: Multiple WANs to one of two gateways
Post by: clownschiff on October 12, 2023, 02:01:32 PM
Hi all,

I have a problem understanding as how to set this scenario up properly and need some help.

We have an OPNsense Firewall in a hosted cloud environment. We ordered 8 IPv4 addresses for our WAN interfaces and the provider delivers these as individual interfaces. So every IP is bound to a specific interface. On top of that, these IPs are in two different subnets with individual gateways.

So it's something like this:

I have configured two gateways, 1.0.0.254 and 2.0.0.254, where the first is the active gateway.

So my question is: How can I select which WAN interface uses which gateway? In the interface settings I can choose the gateway for one interface, but for the rest I can just select "Auto-detect". If I try to create a gateway for each WAN interface, it tells me that a gateway with this IP already exists.

Title: Re: Multiple WANs to one of two gateways
Post by: clownschiff on October 16, 2023, 10:35:23 AM
No idea anybody?
Title: Re: Multiple WANs to one of two gateways
Post by: lilsense on October 16, 2023, 12:04:37 PM
Your WAN IP's are used for NAT not for multiple WAN interfaces. Look into NAT.