Fedora IP Masquerading

James W. Bennett silverhead at comcast.net
Mon Jan 5 01:16:08 UTC 2004


I have attached the files that will create a firewall and also do the IP
Masquerading. This should work with any standard Redhat RPM 2.4 kernel.
However if you compile a kernel you will have to create modules for the
IP Masquerading features otherwise these files will not work. 

Now install firewall-2.4 in /etc/rc.d/init.d and make it executable.
Install rc.firewall-2.4 /etc/rc.d and make it executable. You can
install rc.firewall-2.4 anywhere you wish but you will have to edit
firewall-2.4 and tell it where to load that file. 

Now when all files are in place run the following command:  "chkconfig
--level=345 firewall-2.4 on" (without ""). This will make firewall-2.4
run in runlevel 3,4,5.

Once this is done reboot your machine and both files should setup
firewall and IP Masqurading. Also it is setup that eth0 is connected to
internet connection and eth1 is connected to internal network. It is
setup also for DHCP on eth0. 

IP-Masquerade-HOWTO is a good source if you have problems.

Enjoy
Jim


 Sun, 2004-01-04 at 11:27, Davor Herga wrote:
> > 
> > Message: 17
> > Date: Sun, 04 Jan 2004 22:51:08 +1000
> > From: Scott Blackman <sblackman at dodo.com.au>
> > To: fedora-list at redhat.com
> > Subject: Fedora IP Masquerading 
> > Reply-To: fedora-list at redhat.com
> > 
> > How do I set up IP Masquerading on my fedora box?
> > 
> > THX
> > Scott
> 
> 
> Try this site:
> 
> 
> http://www.e-infomax.com/ipmasq/
> 
> ENjoY!
> 
> Davor.
> 
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
-- 
James W. Bennett <silverhead at comcast.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firewall-2.4
Type: text/x-sh
Size: 994 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040104/4c97af31/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc.firewall-2.4
Type: text/x-sh
Size: 3884 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040104/4c97af31/attachment-0003.bin>


More information about the fedora-list mailing list