Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2005 09:25:11 +0100 (CET)
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        Song Du <freewizard@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: IPNAT & IPv6
Message-ID:  <200501030825.j038PBMF031009@hugo10.ka.punkt.de>
In-Reply-To: <49ba28080412310759c27cfc0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501030825.j038PBMF031009>