Subject: cannot use ipnat
To: None <port-cobalt@netbsd.org>
From: TANABE Junnichi <junnichi@luminousjapan.com>
List: port-cobalt
Date: 03/28/2002 18:51:49
Hi,

I'm trying to use ipnat on cobat.
I use 20020311-1.5.3_RC1 snapshot & self-builded kernel(1.5ZC).
 
I set GATEWAY & ipfilter option and build kernel,
touched /etc/ipf.conf,
and wrote in /etc/ipnat.conf ....
 
$ cat /etc/ipnat.conf 
#!/usr/sbin/ipnat -f
map tlp1 192.168.0.0/24 -> 192.168.10.65/32 proxy port ftp ftp/tcp
map tlp1 192.168.0.0/24 -> 192.168.10.65/32 portmap tcp/udp 40000:50000
map tlp1 192.168.0.0/24 -> 192.168.10.65/32

tlp1 is internet side NIC.
$ cat /etc/ifconfig.tlp1 
192.168.10.65 netmask 255.255.255.0

But I cannot use NAT.
What should I do?

-- 
TANABE Junnichi <junnichi@luminousjapan.com>