Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2023 15:55:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        pf@FreeBSD.org
Subject:   [Bug 268717] [pf] [ipnat] rdr rules don't work for traffic originating at localhost
Message-ID:  <bug-268717-16861-RM2EC7rR20@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268717-16861@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268717-16861@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268717

--- Comment #21 from dfr@rabson.org ---
I don't think its a feature - if we are not supporting rdr rules where the
initial source address is local, then the rule shouldn't match at all.=20

As it is, for both pf and ipnat, the 'outgoing' rule matches, rewriting the
destination address and port and creating state but reply packets never mat=
ch
that state because the firewall does not see the reply packet 'leaving' the
network to be delivered to local tcp/udp/whatever.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268717-16861-RM2EC7rR20>