[Bug 280390] NPTv6 not working

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 22 Jul 2024 16:53:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280390

--- Comment #4 from cnbatch@gmail.com ---
Still not able to `ping6 freebsd.org` from client after changing the ipfw
rules:

#!/bin/sh
ipfw -q -f flush
cmd="ipfw -q add "
ipfw disable one_pass
ipfw nptv6 NPT create int_prefix fdc9:281f:4d7:9ee9:: ext_if vtnet0 prefixlen
64
$cmd allow icmp6 from any to any
$cmd allow icmp from any to any
$cmd nptv6 NPT ip6 from any to any
$cmd allow ip6 from any to any via vtnet0
ipfw -q nat 1 config if vtnet0 same_ports unreg_only reset
$cmd nat 1 ip4 from any to any via vtnet0
$cmd allow all from any to any
$cmd check-state

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