Subject: IPNAT problems
To: None <netbsd-help@NetBSD.ORG>
From: Xiamin Raahauge <xiamin@scdesantis.ne.mediaone.net>
List: netbsd-help
Date: 11/19/1997 15:41:10
I've been using IPNAT for a while now, but recently (after I upgraded to
1.3_ALPHA, I think) it ceased working. As far as I know, nothing changed
in my configuration, except that the binaries are newer, and the kernel
was made with a different config file (I lost the old one, so I might not
have the right options in it, but I think I have the right ones).

Here's the output from ipnat -l:
List of active MAP/Redirect filters:
map sn0 10.0.0.0/24.0.0.0 -> 24.128.90.56/0  portmap tcp/udp 512:0

List of active sessions:

This is my /etc/ipnat.conf file:
map sn0 10.0.0.0/8 -> 24.128.90.56/32 portmap tcp/udp 10000:20000

The startup scripts first do ipf -E (/etc/ipf.conf has "pass in all" in
it), then ipnat -f /etc/ipnat.conf

Here are the (I think) relevent lines from my config file:
options         GATEWAY 
options         IPFORWARDING
options         IPFILTER
options         PFIL_HOOKS

pseudo-device   bpfilter        12
pseudo-device   ipfilter


FWIW, ae0 is 10.0.0.1, sn0 is 24.128.90.56.

Any ideas what I'm doing wrong??
TIA
Xiamin