Subject: ipnat problems
To: None <port-mac68k@netbsd.org>
From: Johan Carlsson <johanc@fusion.kth.se>
List: port-mac68k
Date: 10/09/1998 14:46:31
I'm trying to set up ipnat on a P460 running NetBSD 1.3.2 GENERIC#0. I
configured it following the instructions in Armen Babikyan's howto. When I
exit from single user I get this:

#exit
swapctl: adding /dev/sd0b as swap device at priority 0
setting tty flags
starting network
hostname: heimdal
domainname: earthling.net
installing packet filter rules ...
open device: No such file or directory
SIOCFRENB: Bad file descriptor
open device: No such file or directory
ioctl(SIOCIPFFL): Bad file descriptor
open device: No such file or directory
configuring network interfaces: ae0.
adding interface aliases:
starting IP network address translation (ipnat)...
open: No such file or directory
Enter pathname of shell or RETURN for sh:
Terminal? vt100
Don't login as root, use the su command.
#

ipfilter is turned on in /etc/rc.conf and I've touch'ed /etc/ipf.conf and
/etc/ipnat.conf has this line in it:

map ppp0 192.168.0.0/24 -> 0.0.0.0/32 portmap tcp/udp 10000:40000

ppp was working (at least before I started goofing around w/ ipnat) so the
hw should be fine.

I tried shouting "SIOCIPFFL your mother!" but to no avail so I'd be much
obliged for any suggestions. TIA,

Johan