Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
IP subnet on WAN interface and NAT
« previous
next »
Print
Pages: [
1
]
Author
Topic: IP subnet on WAN interface and NAT (Read 2292 times)
Fremulon
Newbie
Posts: 16
Karma: 0
IP subnet on WAN interface and NAT
«
on:
October 02, 2019, 08:37:06 am »
Hello there
I need some clarification how I need to implement this scenario with OPNsense.
I've got a /29 subnet from my provider: 192.168.33.65/29
On my WAN interface I configurted the IP 192.168.33.70/29 and set the upstream gateway to 192.168.33.65, which is the gateway on the provider side.
Now I want to use the additional ip addresses with port forwarding:
192.168.33.67:443 --> 10.10.10.167:443
Do I need to configure this additional ip as a vIP on the OPNsense or is it enough when I just configure port forwarding and the firewall rules?
Thanks in advance
Logged
daigoro
Newbie
Posts: 18
Karma: 1
Re: IP subnet on WAN interface and NAT
«
Reply #1 on:
October 03, 2019, 11:11:23 am »
Hello,
you should add an "IP Alias" with the same netmask of your WAN subnet.
Then you can use it as you need.
Logged
Fremulon
Newbie
Posts: 16
Karma: 0
Re: IP subnet on WAN interface and NAT
«
Reply #2 on:
October 08, 2019, 11:15:57 am »
Thanks for the hint, you mean Aliases within the Firewall menu, right?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
IP subnet on WAN interface and NAT