Return-Path: <ajaytoo@MIT.EDU>
Received: from pacific-carrier-annex.mit.edu by po11.mit.edu (8.9.2/4.7) id PAA25447; Sat, 26 Jan 2002 15:43:06 -0500 (EST)
From: <ajaytoo@MIT.EDU>
Received: from websnail.mit.edu (WEBSNAIL.MIT.EDU [18.7.21.99])
	by pacific-carrier-annex.mit.edu (8.9.2/8.9.2) with ESMTP id PAA05181
	for <sipb@mit.edu>; Sat, 26 Jan 2002 15:42:48 -0500 (EST)
Received: (from nobody@localhost) by websnail.mit.edu (8.9.3)
	id PAA19939; Sat, 26 Jan 2002 15:42:48 -0500 (EST)
Received: from 18.205.0.108 ( [18.205.0.108])
	as user ajaytoo@PO9.MIT.EDU by webmail.mit.edu with HTTP;
	Sat, 26 Jan 2002 15:42:48 -0500
Message-ID: <1012077768.3c5314c8a1cfb@webmail.mit.edu>
Date: Sat, 26 Jan 2002 15:42:48 -0500
To: sipb@mit.edu
Subject: Linux Firewall HOWTO???
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 18.205.0.108

I am trying to set up a linux firewall between my private network and the rest
of the internet. I have about 50 machines on the network and in front of it a
linux box with two network cards. The external network card is connected to the
router, while the internal card is used as the gateway for the 50 machines on
the network.

I am able to ping the internal network card from my 50 machines. I can also
reach the internet from my firewall. However, I am having trouble reaching the
internet from the 50 machines behind the firewall. I somehow need the packets to
go from the internal card to the external card and then to the router.

Since my 50 machines all have their own IP addresses, I do not want to use IP
masquerading. I am running RedHat 7 with kernel version 2.4.7. I'm not sure if I
need to enable IP forwarding. I have not recompiled the kernel with IP
forwarding enabled, but I did try:

echo 1 > /proc/sys/net/ipv4/ip_forward

Any help you can give me would be appreciated!

Thanks,
Ajay Sudan

----------------------------------------------------------------
This mail sent using MIT WebMail. See http://web.mit.edu/webmail
