OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: awptechnologies on November 27, 2024, 12:39:15 PM

Title: Automatic Outbound NAT
Post by: awptechnologies on November 27, 2024, 12:39:15 PM
Is it normal that automatic outbound nat rule is not created for a gateway that i configure with a static ip?

I use a hotspot for backup wan and when setting it up with a static ip and static gateway address the automatic nat rules are not created.

As soon as i switch back to dhcp on the interface with a dynamic address on the gateway the outbound nat rules are automatically created.

Is this normal operation?
Title: Re: Automatic Outbound NAT
Post by: viragomann on November 27, 2024, 05:31:27 PM
Outbound NAT rules are only created on interfaces, which have a gateway stated.

With DHCP this is set automatically. If you configure a static IP you also have to state the gateway below.
Title: Re: Automatic Outbound NAT
Post by: awptechnologies on November 27, 2024, 09:33:30 PM
What do you mean state the gateway below? Below where?
Title: Re: Automatic Outbound NAT
Post by: viragomann on November 27, 2024, 09:43:57 PM
In the interface settings, below the static IP.