Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Same Gateway, Multiple WAN Configuration Question
« previous
next »
Print
Pages: [
1
]
Author
Topic: Same Gateway, Multiple WAN Configuration Question (Read 1355 times)
korea153
Newbie
Posts: 6
Karma: 0
Same Gateway, Multiple WAN Configuration Question
«
on:
August 13, 2023, 07:23:59 am »
I am planning to set up an OPNsense system with 4 WAN ports and 4 LAN ports. The 4 WAN gateways are all the same but have different IPs. I intend to assign the 4 WAN IPs to the 4 LANs individually. I know that FreeBSD does not support different WANs with the same gateway, so is it possible to configure it this way? Or would it be better to set up OPNsense on 4 virtual machines using Proxmox, Hyper-V, etc.?
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Same Gateway, Multiple WAN Configuration Question
«
Reply #1 on:
August 13, 2023, 11:56:50 am »
Are these actually four different gateways which happen to have the same IP address or is it just a single gateway? For the latter, you won't need four WAN interfaces. You can add all IP addresses to a single interface by using IP aliases instead.
Cheers
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
korea153
Newbie
Posts: 6
Karma: 0
Re: Same Gateway, Multiple WAN Configuration Question
«
Reply #2 on:
August 14, 2023, 08:56:42 am »
It's the latter. Can you elaborate on how I should use the ip alias?
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Same Gateway, Multiple WAN Configuration Question
«
Reply #3 on:
August 14, 2023, 11:10:28 am »
Configure the WAN interface with the first IP address, add the other three as virtual IPs (IP aliases). Set outbound NAT to manual and create four rules, each mapping one LAN subnet to one WAN address.
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Same Gateway, Multiple WAN Configuration Question