You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WAN IF is setup with static IPv4: Bug occurs when selecting upstream gateway = Auto-detect: All automatic outbound NAT rules disappear and IPv4 usage in public internet relying on NAT fails to work. Tested on latest 24.1.4_amd64. Defining the gateway manually as upstream gateway makes these rules to reappear and NAT works again.
To Reproduce
Set up WAN IF with static public IPv4
Set up an upstream gateway in System -> gateway
Set Outbound NAT to automatic
Define auto-detect as "IPv4 Upstream Gateway" for WAN IF
Check Outbound NAT page.
---> No rules displayed
---> No outgoing IPv4 traffic to public internet
Expected behavior
Automatic outbound NAT rules remain where they are.
Describe alternatives you considered
In step 4 use the defined gateway from step 2 instead of auto-detect. IPv4 outbound NAT works again and rules are visible.
Screenshots
N/A
Relevant log files
N/A - I don't know which files might be interesting, please let me know.
Software version used and hardware type if relevant, e.g.:
OPNsense 24.1.4-amd64
FreeBSD 13.2-RELEASE-p10
OpenSSL 3.0.13
Intel(R) Celeron(R) CPU N3450 @ 1.10GHz (4 cores, 4 threads)
The text was updated successfully, but these errors were encountered:
which part of the docs are we referring to here? changing this behavior will break most people setup, so fixing the docs (or the text in the gui) might be wiser here.
In addition outbound nat will be set up automatically when mode is set to Automatic or Hybrid
which is ok.
But in outbound NAT there is no word about that specific required setting in order to get automatic rules to work. And unfortunately - which I find most important - the web ui says
If this interface is a multi-WAN interface, select an existing gateway from the list. For single WAN interfaces a gateway must be created but set to auto-detect.
which would render automatic outbound NAT useless if followed in single WAN setups with static configuration.
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
WAN IF is setup with static IPv4: Bug occurs when selecting upstream gateway = Auto-detect: All automatic outbound NAT rules disappear and IPv4 usage in public internet relying on NAT fails to work. Tested on latest 24.1.4_amd64. Defining the gateway manually as upstream gateway makes these rules to reappear and NAT works again.
To Reproduce
---> No rules displayed
---> No outgoing IPv4 traffic to public internet
Expected behavior
Automatic outbound NAT rules remain where they are.
Describe alternatives you considered
In step 4 use the defined gateway from step 2 instead of auto-detect. IPv4 outbound NAT works again and rules are visible.
Screenshots
N/A
Relevant log files
N/A - I don't know which files might be interesting, please let me know.
Additional context
Since auto-detect is recommended by the docs it should also work that way. See also (German) discussion https://forum.opnsense.org/index.php?topic=39528.0
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.1.4-amd64
FreeBSD 13.2-RELEASE-p10
OpenSSL 3.0.13
Intel(R) Celeron(R) CPU N3450 @ 1.10GHz (4 cores, 4 threads)
The text was updated successfully, but these errors were encountered: