IP subnet on WAN interface and NAT

Started by Fremulon, October 02, 2019, 08:37:06 AM

Previous topic - Next topic
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

Hello,

you should add an "IP Alias" with the same netmask of your WAN subnet.
Then you can use it as you need.

Thanks for the hint, you mean Aliases within the Firewall menu, right?