Subject: Re: IP Masquerade
To: Colin BRADLEY <fox@CS.McGill.CA>
From: Yong S. Yi <ysyi@async.org>
List: netbsd-help
Date: 10/17/1998 11:59:14
On Sat, 17 Oct 1998, Colin BRADLEY wrote:
>Sean Clarke wrote: 
>
>/*
> * Yea I used to use linux but just a few months ago I got into the BSD's.
> * I know there is a package just called "ppp" that does the exact same thing
> * pretty much as ip_masq.  I don't know where I got it from and I never made
> * a backup so I am kinda screwed.  If anyone knows where "ppp" is for making BSD act as a router please
> * tell me!
>
>  Forget using ppp as a router. Just run a ppp connection on 
>  your one interface, set up your new "router" box as your 
>  default gateway for your other boxes, and use sysctl to 
>  turn on ip forwarding.
>
>     % sysctl -w net.inet.ip.forwarding = YES

Yes, but the guy is still going to need to get his PPP stuff working, no?
Also, to enable IP forwarding, he will have to modify the kernel
configuration file (not sure of GENERIC does it) in order to have kernel
support for it.

>  or something like that, the man page tells you how to do it. I've
>  just got it set up in /etc/netstart.local to do that..
>
>  Regards, 
>
>      - Colin