Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jul 2024 08:12:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        pf@FreeBSD.org
Subject:   [Bug 273198] [14.0 CURRENT] PF recognizes encrypted IPSec traffic as coming from WAN. | NAT with IPsec Phase 2 Networks
Message-ID:  <bug-273198-16861-wucbxhmbaI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273198-16861@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273198-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=3D273198

--- Comment #5 from Igor Ostapenko <igor.ostapenko@pm.me> ---
I've got port forwarding working with "rdr on enc0" pf rule using the
"pf_if_enc.diff" patch and the following settings:

sysctl net.inet.ipsec.filtertunnel=3D0
sysctl net.enc.in.ipsec_filter_mask=3D2
sysctl net.enc.out.ipsec_filter_mask=3D1

If you still have interest in the mentioned setup then it will be appreciat=
ed
to hear results of your testing.

FYI: the patch was committed to 15-CURRENT.

--=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-273198-16861-wucbxhmbaI>