Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2023 15:38:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        pf@FreeBSD.org
Subject:   [Bug 268717] [pf] rdr rules don't work for traffic originating at localhost
Message-ID:  <bug-268717-16861-TQb37PjWm4@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 #19 from dfr@rabson.org ---
Testing with ipfirewall's ipnat module shows the exact same pattern where t=
he
rule matches the initial connection attempt and translates the destination
address and port but the reply does not reverse the translation.

Adding a call to pfil_mbuf_out() in ip_input() right before the packet is
handed off to upper-layer protocols fixes the problem for both pf and ipnat.

--=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-TQb37PjWm4>