OPNsense Forum

English Forums => 26.7 Series => Topic started by: mrzaz on July 19, 2026, 12:43:25 PM

Title: Weird thing when using NAT Dest-port and Register Rule.
Post by: mrzaz on July 19, 2026, 12:43:25 PM
Hello,
I am running latest 26.7 i stumbled on a thing that is a bit confusing.

In NAT you have 3 settings to use:  Manual, Pass and Register rule.
- Manual = Choose this if you want to create your own Firewall ‣ Rules [new] manually. No linked filter rule is created.
- Pass = A filter rule will be automatically added and updated. This rule cannot be seen or edited in Firewall ‣ Rules [new].
- Register rule = Adds a linked filter rule in Firewall ‣ Rules [new] that is automatically updated when the NAT rule is updated. The created filter rule cannot be manually edited.

I created a brand new NAT rule called "TEST" with following:
- WAN, IPv4, TCP
- Source = Any
- Destination = WAN address, Single port or range, 1234
- Translation = 192.168.x.y, Single port, 1234

And then I selected "Register rule" (so I should see a linked rule in Rules even if not possible to modify.)
BUT, when I did that I still can't see the readonly rule in rules list.  (Running the new rules engine.)

I then changed to a lighter skin and realized that the readonly NAT generated rules was hiding
under one more "Automatically generated rules" at the bottom that is named exactly as the one
at the top which is a bit misleading (even if it is correct).

Would it be possible to change the bottom "Automatically generated rules" to something more
explanatory like "Automatically generated NAT rules"  or "NAT Automatically generated rules"


Dan Lundqvist
Stockholm, Sweden