Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
How to configure multiple WAN IP Addresses
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to configure multiple WAN IP Addresses (Read 2021 times)
kyros79
Newbie
Posts: 3
Karma: 1
How to configure multiple WAN IP Addresses
«
on:
August 20, 2023, 04:36:32 pm »
Hello there
We have an ISP that provides us with multiple public IP addresses. The additional addresses should be made available to devices on the LAN so that they can be reached with the corresponding public IP addresses.
I read in the OPNSENSE documentation that this is usually configured with a 1:1 NAT (binat).
I tried this, but failed. The requests are forwarded to the corresponding server in the LAN (I see in the firewall log) but they are not answered via the public IP address assigned to the server, so the return path does not work.
Now my question is: I'm sure there is someone who was able to get this to work successfully. Are there any instructions or a walk through for this?
Best regards
Adrian
Logged
seed
Full Member
Posts: 174
Karma: 12
Re: How to configure multiple WAN IP Addresses
«
Reply #1 on:
August 20, 2023, 05:14:31 pm »
1:1 nat makes sence when natting whole subnets with a similar size.
In your case i would add the ips obne by one as virtual ips on your wan interface and add portforwarding rules for each device.
Logged
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:
AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance
private user, no business use
kyros79
Newbie
Posts: 3
Karma: 1
Re: How to configure multiple WAN IP Addresses
«
Reply #2 on:
August 21, 2023, 07:23:27 am »
Hello seed
Thanks for your answer. I will try this via virtual IP's an Portforwarding.
Logged
kyros79
Newbie
Posts: 3
Karma: 1
Re: How to configure multiple WAN IP Addresses
«
Reply #3 on:
August 21, 2023, 01:02:34 pm »
The solution from seed works. Thanks for your help!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
How to configure multiple WAN IP Addresses