Subject: making ipnat work
To: None <netbsd-help@NetBSD.ORG>
From: Tim Rightnour <root@garbled.net>
List: netbsd-help
Date: 02/23/1998 06:35:38
I'm running NetBSD 1.3 on i386 and sparc.  I have a ppp connection to the
internet on my main i386 machine, and a few machines underneath it on ethernet.

I am attempting to use ipnat.. and nothing seems to happen.

(my ipnat.conf)
map ppp0 192.168.10.0/24 -> 206.103.182.244/32 portmap tcp/udp 10000:40000
map ppp0 192.168.10.0/24 -> 206.103.182.244/32

[/usr/src] polaris# ipnat -f /etc/ipnat.conf
[/usr/src] polaris# ipnat -s
mapped  in      0       out     0
added   0       expired 0
inuse   0
rules   2

Any machine under the i386 cannot reach the internet by any means.  I have
tried to telnet via IP, and enabling resolv.conf.. neither work.. It attempts
to connect.. then times out after a minute or so.  What obvious step am I
missing here?

---
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html