From nobody Thu Jul 25 10:53:36 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WV76901fvz5RqHt for ; Thu, 25 Jul 2024 10:53:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WV7684mDkz49P0 for ; Thu, 25 Jul 2024 10:53:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721904816; a=rsa-sha256; cv=none; b=iSEiCUhFRUVSUibXpQtr9Rs+v0qAEeJg/um4FzQ82U3Og6gUrJUdxQNkdlF3m/M4hLGQv0 3IqNBPX6AloL0gIs5knlhVcIa6iD4hloKrD7NjNde1OFcbQFhpjEc3U0l4Yc9jY1aM8kKV paAGvhCUrHrdWrecSFov8K+lKDWuKliBrIaU8V4JyCuK8LIxParB+EMt7QrlPl0SHhUT30 D1JhtagIIMx+EfllcFQ+EYU5TrEDX38k1hWgcBaAouhcdQgPT6gGokmJbf1JlQtL/4NUM3 NpGoeTiow9qtpbvvT9oOGpdGhZMsOpgEGoin4l/zcLVTAoXAeUS5Ez7dTUg4xA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721904816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4PTBFykGtGH+ovOYR4UtowlwHi9t8zW/qIWBko0lTnc=; b=Kb/ia0uxL3KuIIS2ap0zkztP7e6Pfu4yH9kA5StqA+pP5D9S7rRLqOfFbnjdcT0qNwRChw bkCLrt1lM9brGD2PIM0fb+EtyuK6aek6G0gpZ17TAL+fJ4eYhp7Lw6ZQkxeq94AD9R3PCK 03/RnuHucxMk+muWbJDknV1zyEqDYRtplCffbj5ZgjY2KgFiJFikeGUnEejwEbb5Z0gW+p x42FSmFc1NPdpgGmzAgbjRwsW50oRB2ORNI5IGgA20Kd72wu1I3gaTmcFfDjw0i9/4810O 8MNU95VEUVjco4pu+VFm4wyjxizNy6n2qH5G07UvrLTvRHqAjuMmrEM4JHVALA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WV7684LgGzsWD for ; Thu, 25 Jul 2024 10:53:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46PAraui053339 for ; Thu, 25 Jul 2024 10:53:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46PAraGF053338 for net@FreeBSD.org; Thu, 25 Jul 2024 10:53:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 280390] NPTv6 not working Date: Thu, 25 Jul 2024 10:53:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: john@sanren.ac.za X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ipfw@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280390 --- Comment #15 from John Hay --- I have made a test setup with roughly your setup, but added the ndproxy por= t, and added this to my rc.conf: ndproxy_enable=3D"YES" ndproxy_uplink_interface=3D"vtnet0" # mac and link-local address of upstream router ndproxy_downlink_mac_address=3D"0c:07:42:82:00:01" ndproxy_uplink_ipv6_addresses=3D"fe80::e07:42ff:fe82:1" I tweaked the /etc/ipfw.rules a little and left the ipv4 stuff out: #!/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 allow ip6 from fe80::/10 to ff02::/16 $cmd allow ip6 from fe80::/10 to fe80::/10 $cmd nptv6 NPT ip6 from any to any via vtnet0 $cmd allow icmp6 from any to any $cmd allow icmp from any to any $cmd allow ip6 from any to any With this I had a working ping6. --=20 You are receiving this mail because: You are on the CC list for the bug.=