Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2023 08:50:31 +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-udHaLFq7pZ@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 #13 from Kristof Provost <kp@freebsd.org> ---
Oh. Wait.

The setup in comment #1 tries to use 'rdr' to redirect an outbound packet. =
But
the pf.conf man page says: "Then either the rdr rules are evaluated on an
inbound
 packet or the nat rules on an outbound packet."

So I don't think that's expected to work. You should be able (and indeed, i=
n my
test script I can) make this work using 'nat' rather than 'rdr'.

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