From nobody Mon Jul 22 19:21:58 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 4WSVX63hWWz5Q1PG for ; Mon, 22 Jul 2024 19:21:58 +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 4WSVX61knFz4Rxs for ; Mon, 22 Jul 2024 19:21:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721676118; a=rsa-sha256; cv=none; b=i0UdufVe02rTREqApqL1lv1rUnqp8+XI9K86HpKPlJNJ9GdEOJ+cXyvjJsj83+zKX7Jr0v JJePMbIdBuwARs94EQ4Vx9vtYhVqVfgBlkX8dGVUG/61f2puj6K2nc8X5gc+D+isA/ITZH vFVkFzV2mG66IFWWbwCsNDfF+4Mmu3KL0rSnSgD7vEzdFPB70iGT3zpowUiFbrKVUbrgPS oXvaT8IpIuaus1peqcBBz4uCZ6q4nM1do6zJdIV5xAYD4X5NnyIAGWygFW26p3prL9eGNY gUPvUFju0/j+D9P8qE2l2yRrod5oGcIJ0EdI7G83bq6KDh6KfrbFkPw/mXihXA== 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=1721676118; 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=ZRHuyihx5WbcqFKFyXlGbECpbKIm/+Gltd43m1LjYFo=; b=eeD/TFvnxz495LYqrC0T8P/Uxl0ZOQkrFzsoJ9VzOfCtzZR8ZA74eqLTW5elhJWuiSe4HH 9YJnO6m1oWlnPXZbo3eBAyYJvp8WoZfcvz4lYtLL4AHIelpWKKvAVA9jwcPyVhGy/xFlqW usmgWyIryWrBJT4kkIMv8fWlGHx9MemNlJI64A1wdsvA3i+feILhevnubcWVkZBZsXIIUb hEug1k1Z5HgNcAAmbiljT3QHabttr+cXIqs2WDhLNebAOOmyVVGb7ZP/WJ3ngDOMEXLhtt cJ9nAGWq17nr3auxsfngN8rSSAOQ2UYpY3yL/NecIlJ0QVGvYOBJYKwTMOTcaQ== 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 4WSVX61LT0zwyh for ; Mon, 22 Jul 2024 19:21:58 +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 46MJLwne016947 for ; Mon, 22 Jul 2024 19:21:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46MJLwX5016908 for net@FreeBSD.org; Mon, 22 Jul 2024 19:21:58 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: Mon, 22 Jul 2024 19:21:58 +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: cnbatch@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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 #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.=