Subject: Re: IP Masquerade
To: Yong S. Yi <ysyi@async.org>
From: Sean Clarke <sean@bxfm.com>
List: netbsd-help
Date: 10/17/1998 17:22:20
I still think I need to change the kernel, I tried that and I just got
	net.inet.ip.forwarding = 0
	top level name   in  is invalid
	top level name YES in YES is invalid

--Sean
On Sat, 17 Oct 1998, Yong S. Yi wrote:

> 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
>