Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2024 19:21:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 280390] NPTv6 not working
Message-ID:  <bug-280390-7501-S2vOR3hJCk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280390-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280390-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=3D280390

--- Comment #6 from cnbatch@gmail.com ---
Now I've changed the rules:

#!/bin/sh
ipfw -q -f flush
cmd=3D"ipfw -q add "
ipfw disable one_pass
ipfw nptv6 NPT create int_prefix fdc9:281f:4d7:9ee9:: ext_if vtnet0 prefixl=
en
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 `pin=
g6
freebsd.org` on the server console.

--=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-280390-7501-S2vOR3hJCk>