Subject: Re: please help to config IPNAT
To: Chan Yiu Wah <c5666305@hkstar.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 07/02/1999 17:42:39
On Fri, Jul 02, 1999 at 10:50:43PM +0800, Chan Yiu Wah wrote:
> 
> Hello,
> 
> I had problem in configuring the IPNAT to work. I follow the steps to
> setup the IPNAT and could not make it work.
> 
> 1. I test the LAN is ok as I can ping the gateway (dialup line to ISP).
> 2. I ping other host in the internet without any messages back except the
> ip address of it.
> 
> Anyone can help ? Here is the setting of my system for the IPNAT. My system
> is netbsd-current (jun 30, 1999)
> 
> Clarence
> 
> ======= ipnat.conf =======
> map ppp0 158.132.8.97/24 -> 0.0.0.0/32 portmap tcp/udp 10000:40000

Not enouth to get ping to work. You also need:
map ppp0 158.132.8.97/24 -> 0.0.0.0/32

You may also want:
map ppp0 158.132.8.97/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp
so that ftp will work.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--