Subject: Re: ipnat broken
To: Brad Salai <>
From: Mason Loring Bliss <>
List: current-users
Date: 11/06/1997 14:35:18
On 11/5/97 at 11:48 PM -0500, you wrote:

> sometime in the last week or so, ipnat has stopped working in the 1.3
> release branch.

Are you sure? I grabbed the November 2nd (I think) snapshot, and compiled a kernel the other day to go with it, and IP-NAT is working perfectly for me.

I assume your kernel has the right options turned on...? The GENERIC kernels don't.

Maybe the filtering isn't coming up when you boot... The scripts I use make sure IP-NAT is loaded:

/root# cat /etc/ppp/nat
address=`ifconfig ppp0 | tail -n 1 | awk '{print $2}'`
echo Current IP address is $address
echo Cleaning out IPNAT
ipnat -F
ipnat -C
ipf -E
echo Setting up IPNAT for IP address $address
echo "map ppp0 -> $address/32 portmap tcp/udp 10000:65000" | ipnat
-f -
echo "map ppp0 -> $address/32" | ipnat -f -

Mason Loring
"In the drowsy dark cave of the mind dreams build their nest with fragments
 dropped from day's caravan."--Rabindranath Tagore...awake ? sleep : dream;