[Bug 248474] if_ipsec: NAT broken on IPsec/VTI
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 2 02:33:46 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248474
jeremy.mordkoff at riftio.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jeremy.mordkoff at riftio.com
--- Comment #35 from jeremy.mordkoff at riftio.com ---
(In reply to Andrey V. Elsukov from comment #17)
I have a VTI routed tunnel already to another PF Sense. LAN to LAN, no NAT,
wide open firewall rules. Bi directional traffic. Works fine.
I was trying to create a second VTI tunnel to a different server, but this one
needed SNAT. It is outbound only. The new tunnel was dropping all replies. I
could see them arrive on the ipsec* interface but they never exited the router
on the LAN interface.
These sysctl changes allowed the new tunnel to work, but they half-break the
existing LAN to LAN tunnel. Hosts on the "CORE" side where I made these sysctl
changes can still reach systems in the remote LAN, but the remote LAN cannot
access the core LAN. Again, they arrive on ipsec* but they never exit the LAN
port.
(a) Is there a way to have he best of both worlds? I suspect not.
(b) Is there a way to configure the old LAN to LAN tunnel such that inbound
traffic will flow again?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list