Date: Wed, 05 Aug 2020 07:56:23 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 248474] NAT broken on IPsec/VTI [if_ipsec] Message-ID: <bug-248474-7501-R18UCC8DnU@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-248474-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-248474-7501@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=3D248474 --- Comment #4 from Eugene Grosbein <eugen@freebsd.org> --- Created attachment 217021 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217021&action= =3Dedit strongswan work-around patch Also, it is possible you hit obscure problem in kernel+strongswan co-operat= ion: strongswan unconditionally uses IPSEC_LEVEL_UNIQUE while talking to kernel = that may be inappropriate for setups similar to yours. Sadly, strongswan has no configuration to give user opportunity switching to IPSEC_LEVEL_USE that solves the problem. Here I attach quick-n-dirty work-around patch for strongswan. You should save it to /usr/ports/security/strongswan/files/patch-kernel_pfkey_ipsec.c and rebuild/reinstall strongswan. No strongswan nor pf reconfiguration required. Please try it and report back. --=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-248474-7501-R18UCC8DnU>