Stan Kaufman <[EMAIL PROTECTED]>:

> > I can make it work by doing the following by hand:
> > 
> > # ipchains -A forward -s 192.168.0.0/24 -j MASQ
> > # echo 1 > /proc/sys/net/ipv4/ip_forward
> > 
> > But is there a neat way of making it happen automatically by putting
> > something in /etc/network/ or in /etc/ppp/?
> > 
> > And can it be combined with dial-on-demand?
> > 
> > Edmund
> 
> Edit /etc/network/options to change the line
>       ip_forward=no
> to
>       ip_forward=yes
> 
> During bootup, this file gets read from /etc/init.d/networking and sets
> all these configs.

It does the "echo 1 > /proc/sys/net/ipv4/ip_forward", but it doesn't
do the ipchains bit, I think.

Edmund

Reply via email to