Subject: Re: Network Address Translation
To: None <port-amiga@NetBSD.ORG>
From: Matthias Scheler <tron@lyssa.owl.de>
List: port-amiga
Date: 01/12/1998 17:51:09
In article <199801120744.IAA18365@analytik.analytikerna.se>,
"Håkan Thörngren" <hth@analytik.analytikerna.se> writes:
> map ppp0 n.n.n.n/24 -> 0/32
That won't work.
> where n.n.n.n is the IP address for the ethernet on the Amiga.
With a trailing zero?
> I have also tried to replace 0 with my dynamically allocated IP address
> on ppp0, and the IP address for the other side of ppp0, ...
That's the right way. You can use "/etc/ppp/ip-up" and "/etc/ppp/ip-down"
to let this happen automatically.
> ... but it just won't work. What am I missing?
IP forwarding needs to be activated to get IP NAT to work. So you have
either to turn it on via "sysctl" or better compile a kernel with
the "GATEWAY" option turned on.
--
Matthias Scheler http://home.owl.de/~tron/