From owner-freebsd-stable@FreeBSD.ORG Mon Jan 3 09:40:30 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 02BBF16A4CE for ; Mon, 3 Jan 2005 09:40:30 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9AB843D39 for ; Mon, 3 Jan 2005 09:40:28 +0000 (GMT) (envelope-from freewizard@gmail.com) Received: by wproxy.gmail.com with SMTP id 36so416017wra for ; Mon, 03 Jan 2005 01:40:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=FWiEytNULa5DK9JBuMWRkWXjTcMynXiUt67SgpZP5CvvQ1CRMhnaJh7sJmBGkT3fB4K1juYjfIdJUQd4ZqMx+q4uzFWoP4R3mM4CNFx0e6GX4WWmAm5+iMOIlEOmFrKKGSzEl43fqA6nXevydhJ0FYwvtEhfDqUYSMk/uXy++gk= Received: by 10.54.14.21 with SMTP id 21mr177022wrn; Mon, 03 Jan 2005 01:40:28 -0800 (PST) Received: by 10.54.3.4 with HTTP; Mon, 3 Jan 2005 01:40:28 -0800 (PST) Message-ID: <49ba280805010301406eba0009@mail.gmail.com> Date: Mon, 3 Jan 2005 17:40:28 +0800 From: Song Du To: freebsd-stable@freebsd.org In-Reply-To: <200501030825.j038PBMF031009@hugo10.ka.punkt.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <49ba28080412310759c27cfc0@mail.gmail.com> <200501030825.j038PBMF031009@hugo10.ka.punkt.de> Subject: Re: IPNAT & IPv6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Song Du 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 09:40:30 -0000 but i want to do the data redirection transparently :( On Mon, 3 Jan 2005 09:25:11 +0100 (CET), Patrick M. Hausen wrote: > 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 > -- freewizard (at) gmail.com http://blog.tsing.org/freewizard/