[Bug 268717] [pf] [ipnat] rdr rules don't work for traffic originating at localhost

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 Jul 2023 10:13:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268717

dfr@rabson.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|New                         |Closed

--- Comment #37 from dfr@rabson.org ---
Closing this - for 13.2 and later, redirecting from localhost mostly works as
long as the target address for a connect attempt is not 127.0.0.1 or ::1.

Fixing that probably needs a more flexible binat since in this case, the kernel
will typically choose a localhost source address and the rewrite needs to
change that to the outgoing interface address. Since that is a feature request
for pf, probably best in a new bug.

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