Subject: nat configuration
To: None <tech-net@netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: tech-net
Date: 12/19/2000 03:57:14
never having played with ipnat before, i find myself a little
perplexed.  what i *want* is a network of machines at home that can
all reach the internet with equal (roughly) facility.  what i've found
is not quite that.

the man page for ipnat.conf suggest, as an example, that

       map ppp0 10.0.0.0/8 -> 209.1.2.0/24 portmap tcp/udp 1025:65000
       map ppp0 10.0.0.0/8 -> 209.1.2.0/24

will almost do what i want.  when i translate the /8 to my /24, and
209.1.2.0/24 to 0.0.0.0/32 (to match my ppp link), i get connectivity
for all my machines, but only one of them can have an active ping (to
the outside world) running at any given time.

is there a way to do this?  the userspace ppp implementation in pkgsrc
can do this, but i'd rather use a kernel space ppp implementation.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."