That makes absolutely more sense.  Thanks.  

> On 20010816.1238, Cory Petkovsek said ...
>
> No, just put it *inside* of your firewall script.
> 
> You don't want to forward unless you have firewall rules up.  When you
> reconfigering scripts, sometime you may have forwarding enabled, but the
> firewall disabled.  :(
> 
> Instead put the forward line at the end of your firewall script.
> 
> 
> 
> -----Original Message-----
> From: Rob Hudson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 16, 2001 12:07 PM
> To: [EMAIL PROTECTED]
> Subject: [EUG-LUG:2282] RE: masquerading on linux
> 
> 
> 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