Hello,

        If you are using RedHat (or other distro that uses sysctl):
        /etc/sysctl.conf
        Change:
        net.ipv4.ip_forward = 0
        to
        net.ipv4.ip_forward = 1
        It will enable the ip forwarding at network start.
        Or, put:
        echo 1 >/proc/sys/net/ipv4/ip_forward
        at the end of your rc.local

See ya,
Alejandro Flores

> I have tried to use the iptables-save command and I see that the rules are
> transferred to the /etc/sysconfig/iptables file. However, when I restart the
> system, I cannot access the Internet from the inside client machines as if
> the ip_forward does not seem to start. I have to either run my filter script
> again (this is the one used to save the configuration) or restart
> ip_forward. does anyone know if this is a bug? I am using the iptables 1.2.4
> and the 2.4.9 kernel.
> 
> Or is there anyway to create a "batch" file that can be clicked on from the
> desktop? I am new to Linux.
> 
> Thanks
> 
> Larry
> 
> -----Original Message-----
> From: Alan Knipmeyer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 23, 2002 1:08 PM
> To: Giri Sandeep; [EMAIL PROTECTED]
> Subject: RE: Router as well as Firewall.
> 
> 
> Hiya,
> 
> You can setup your machine to be a router as a 'firewall' using the
> iptables/ipchains setup.
> http://www.tldp.org/HOWTO/Net-HOWTO/
> http://www.idg.net/english/crd_iptables_697342.html
> 
> Have fun :)
> 
> Re,
> 
> Al.
> 
> 
> 
> > -----Original Message-----
> > From: Giri Sandeep [mailto:[EMAIL PROTECTED]]
> > Sent: 23 April 2002 10:53
> > To: [EMAIL PROTECTED]
> > Subject: Router as well as Firewall.
> >
> >
> > Hi!
> > Is it possible to run my linux box as router as well as Firewall?
> > Please help me out as I am lttle new to the linux world.
> > Thanks.
> > Sincerely,
> >
> > *************************|<<---/\--->>|***********************
> > ************
> > Sandeep Giri                  |
> > B.E IV Chemical                   | For finding anything
> > your need two things:
> > Indian Institute of Technology|       1. Will
> > Roorkee-247667                    |       2. Google
> > *************************|<<---\/--->>|***********************
> > ************
> > Url   :  www.sandeepgiri.com          |   F-71,Ravindra Bhawan
> > Email :  [EMAIL PROTECTED]        |   Indian Institute of
> > Technology,
> > Cc    :  [EMAIL PROTECTED] |   Roorkee-247667,India
> > ---------------------------------------------------------------------
> >
> >


Reply via email to