Ok.  Not sure if those is the best way, but I created a 'ipforward'
script in /etc/init.d.

start echoes a 1
stop  echoes a 0

Then on rc3.d (default for redhat) made a symlink to it just after the
network script.

-Rob

> On 20010816.1150, Justin Bengtson said ...
>
> i have that line in my firewall script.
> 
> -----Original Message-----
> From: Rob Hudson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 16, 2001 11:49 AM
> To: EUGLUG
> Subject: [EUG-LUG:2280] masquerading on linux
> 
> 
> Where is a good place to stick this on a gateway machine:
> 
>   echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> so that it gets loaded automatically upon booting up?  And also so
> that it doesn't get clobbered on an upgrade.
> 
> Thanks,
> Rob
> 
> 

Reply via email to