IPNAT & IPv6

Song Du freewizard at gmail.com
Mon Jan 3 01:40:30 PST 2005


but i want to do the data redirection transparently :(


On Mon, 3 Jan 2005 09:25:11 +0100 (CET), Patrick M. Hausen
<hausen at punkt.de> 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/


More information about the freebsd-stable mailing list