IPNAT & IPv6

Patrick M. Hausen hausen at punkt.de
Mon Jan 3 00:25:14 PST 2005


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


More information about the freebsd-stable mailing list