Subject: Re: ipnat - Please help!
To: D.Joyce <>
From: R. C. Dowdeswell <>
List: port-alpha
Date: 08/05/1999 15:27:56
On 933888346 seconds since the Beginning of the UNIX epoch
"D.Joyce" wrote:
>I really need help on this.  I'm trying to set up ipnat on my server
>with no success at all. . . here is what I have:
>-Internal 100Base-TX Network
>Intel PRO100:
>subnet mask:
>-External aDSL Internet connection (subneted by my isp)
>DEC Tulip:
>my ipnat.conf reads:
>map de0 -> portmap tcp/udp =
>map de0 ->
>what am I missing?  Can this only be done with ppp?

First, is de0 your external interface?  If not it should be.  Then,
check to see if the rules are loaded:

 # /usr/sbin/ipnat -l

You should see the rules there.  You might also make sure that IPF
is enabled:

 # ipf -E

Make sure that the internal hosts are properly configured to send
packets to the NetBSD box.  (Method varies).

You could also try tcpdump on each interface to see what is really
going on.

Some other debugging info could be had from arp(8), ifconfig(8),
route(8), netstat(8).

 == Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/  ==
 == The Unofficial NetBSD Web Pages        http://www.Imrryr.ORG/NetBSD/  ==
 == The NetBSD Project                            http://www.NetBSD.ORG/  ==