https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290177

--- Comment #14 from Kajetan Staszkiewicz <[email protected]> ---
> Please let me also know how these rules should be written now.

The same as on OpenBSD. So your original ruleset:

no rdr inet proto tcp from <white> to any port = smtp
rdr pass inet proto tcp from any to any port = smtp -> 127.0.0.1 port 2525

would become part of the normal ruleset instead:

pass in quick on $INBOUND_IF inet proto tcp from any to ! <white> port smtp
rdr-to 127.0.0.1 port 2525

You can find this syntax in manual pages for FreeBSD 15 mentioned as default
syntax for address translation. The manual still mentions the old syntax too,
so if it is unclear please tell and I'll try to improve the man page. FreeBSD
15 still supports the old "nat" ruleset. I've noticed the bug of last rule
matching instead of first on my testing systems too but had no time to attend
it yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to