[Bug 255928] ipfw: nat64 not working on 13.0-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 22 May 2021 15:58:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255928

--- Comment #5 from PaulC <paul.chakravarti@gmail.com> ---
I've done some more testing with a cut-down ruleset and it looks like the
problem is caused by the 'net.inet.ip.fw.nat64_direct_output=1' sysctl. I had
set this to 1 to make sure the NAT64 traffic wasn't re-evaluated by ipfw so
that I could still use the host IPv4 address locally (using a keep-state
outgoing rule to avoid all the traffic being grabbed by the nat64 rule) however
with a bit of fiddling with the ruleset I can do this using tags with
'net.inet.ip.fw.nat64_direct_output=0'.

It does look like there is still a regression (this worked on 12.2) but could
be a pretty unusual case.

-- 
You are receiving this mail because:
You are the assignee for the bug.