RE: Router as well as Firewall.

From: Alejandro Flores (aflores@ipad.com.br)
Date: 05/06/02


From: Alejandro Flores <aflores@ipad.com.br>
To: Larry Thompson <lthompson999@comcast.net>
Date: 06 May 2002 13:31:11 -0300


        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:Alan.Knipmeyer@btlooksmart.net]
> Sent: Tuesday, April 23, 2002 1:08 PM
> To: Giri Sandeep; security-basics@securityfocus.com
> 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:sggosuch@iitr.ernet.in]
> > Sent: 23 April 2002 10:53
> > To: security-basics@securityfocus.com
> > 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 : san_gos@yahoo.com | Indian Institute of
> > Technology,
> > Cc : sggosuch@iitr.ernet.ernet.in | Roorkee-247667,India
> > ---------------------------------------------------------------------
> >
> >



Relevant Pages

  • Re: 56k dial up on laptop 802.11G ?
    ... >>> Linux firewall is not a firewall... ... NAT router? ... traffic can be set like it can be set for packet filtering like they can be ...
    (alt.internet.wireless)
  • RE: Home Security.
    ... Subject: Home Security. ... I would suggest using linux as your router. ... Other than that, as long as you set your firewall up right, you ...
    (Security-Basics)
  • Re: Replaced NT 4 Server with Linux
    ... Maybe later when i will be more confidential with linux. ... Cisco both with the same configuration i'm doing now with your help. ... > off by a second line of defense (the Linux firewall machine you don't ... > router and keeping track of connections, running IDS's, etc - your Cisco ...
    (comp.os.linux.security)
  • Re: Linux, Windows, and cable modem
    ... > You plug system into same place you would plug router. ... I'd probably have to put it under the stairs, where there is no power, ... > linux to hub. ... > Firewall does that automagically when you setup forwarding rules. ...
    (alt.linux)
  • Re: LanMan98 problem
    ... do I really need to have Zone Alarm running on the ... >> has a firewall, use that. ... >>> Second point with regards to the router, NAT enabled, so do I need to ... > As to Linux, rather, pointless. ...
    (comp.sys.acorn.networking)