From owner-freebsd-stable@FreeBSD.ORG Mon Jan 3 08:25:14 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F342E16A4CE for ; Mon, 3 Jan 2005 08:25:13 +0000 (GMT) Received: from gate.ka.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D70C43D49 for ; Mon, 3 Jan 2005 08:25:13 +0000 (GMT) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [10.0.0.110]) by gate.ka.punkt.de with ESMTP id j038NgAo025497 for ; Mon, 3 Jan 2005 09:23:42 +0100 (CET) Received: from hugo10.ka.punkt.de (localhost [127.0.0.1]) by hugo10.ka.punkt.de (8.12.10/8.12.10) with ESMTP id j038PBen031010; Mon, 3 Jan 2005 09:25:11 +0100 (CET) (envelope-from ry93@hugo10.ka.punkt.de) Received: (from ry93@localhost) by hugo10.ka.punkt.de (8.12.10/8.12.10/Submit) id j038PBMF031009; Mon, 3 Jan 2005 09:25:11 +0100 (CET) (envelope-from ry93) From: "Patrick M. Hausen" Message-Id: <200501030825.j038PBMF031009@hugo10.ka.punkt.de> In-Reply-To: <49ba28080412310759c27cfc0@mail.gmail.com> To: Song Du Date: Mon, 3 Jan 2005 09:25:11 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: IPNAT & IPv6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 08:25:14 -0000 Hello! > my original ipnat rule is > rdr rl0 0.0.0.0/0 port 80 -> 127.0.0.1 port 8000 tcp > which redirect a priv port to a non-priv port > > but when i setup dual stack, i find it's unable to handle ipv6 connections. > when i change 0.0.0.0 to ::0, ipnat complains it can't resolve it. > even when i use domains instead of numeric format, still no help. > > so it seems that ipnat doesn't work with ipv6? any solution? Don't know if ipnat works with IPv6 or if ipfw/natd would do better, but you can always use netcat (/usr/ports/net/netcat) and inetd for incoming connections on a NAT gateway. HTH, Patrick -- punkt.de GmbH Internet - Dienstleistungen - Beratung Vorholzstr. 25 Tel. 0721 9109 -0 Fax: -100 76137 Karlsruhe http://punkt.de