From nobody Thu Jul 25 10:53:36 2024 X-Original-To: ipfw@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 4WV7684srQz5RqHs for ; Thu, 25 Jul 2024 10:53:36 +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 4WV7683rHnz49WP 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=nXe3zD7zJHcLWRGyxD1Qzif04qNj7GoeqeQdz3FMmOGDoFH6LoQFuvb/FJ1ei9hIEWNmbM VAlLxxeIcyvmR/5mBUAuKIamuoYgJQSHxv1Xn8HP2uXEXsSD8rBb7mN26vSEIE9JYagqkk SetaMGRH3SwTQKAka8LnTFLY4eCgF9y1fdf/ria78oHkgyPxfq1uvM7PhNv/+QgK5jTR4N u3w+S16Ex5Zuv0VqrVKEVJxoCYtxjnTwklyA/W0hS3Tnomn6aqEQcgzMgrLnyGg7z4cI2s pDrf3cKHBkeu7VClLBaDAwo4Z13ZbpWI8ExUmOOPFDq8ZFFsy18ir7lpLvSdJg== 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=CTAaygjERyuvoJ+4ReUHNJRSprrrSu3WIqZR0M1RH9M=; b=B8s6tdRNtnPBk1zVSE1IS0wOBK0FlQKO9WkLT1N9RxVWIlQeAjHfUjoS3c/9U3IDQMcKPL HdeDFS5gpFhGOZi+SpCghcBDkg8moNEVqvO3o2FKodpNlzRSu1SOV9eqil/3XumxcyrMR6 7v5APVq+S053UeQ4LFE+q9zxK9e40uUlsK85CsOMT7ikVtwaSqwEF6EggSQI24pqwuESFH 965JU3kqQSYZAPkeA5yYPV2jEMTogQkKheT42ku3DJi8lawPZ/8u1/CervWOxnpolUkzNi KyUkraO8lUs3cLw2AOzm7mQzD/pyrEMAwQORy8VwvQbm9o/oogVcS3D39MFeKw== 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 4WV7683Qk8zrfX 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 46PAralb053331 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 46PAra2o053330 for ipfw@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: ipfw@FreeBSD.org Subject: [Bug 280390] NPTv6 not working Date: Thu, 25 Jul 2024 10:53:36 +0000 X-Bugzilla-Reason: AssignedTo 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: IPFW Technical Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-ipfw List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ipfw@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 the assignee for the bug.=