[Bug 280390] NPTv6 not working

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

--- Comment #6 from cnbatch@gmail.com ---
Now I've changed the 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 nptv6 NPT ip6 from any to any
$cmd allow icmp6 from any to any
$cmd allow icmp 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

Much worse than previous settings, I can't even `ping freebsd.org` nor `ping6
freebsd.org` on the server console.

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