Building a NAT router?

Tom Diehl tdiehl at rogueind.com
Wed Sep 24 15:12:45 UTC 2003


On Wed, 24 Sep 2003, Martin wrote:

> Hi,
> 
> my Severn box has 2 NICs and I would like to use it as a router for my
> DSL connection. Unfortunately I have no clue how to configure NAT (and
> portforwarding) :( I managed to get the box on the net using the
> Internet Configuration Wizard and I can ping the second NIC
> (192.168.1.1) from my other machine (192.168.1.2) but I still have to
> find out how to NAT and forward ports. So if anybody knows if/how I
> can do this with redhat-network-config or any other way I would be
> very greatful for any advice.

You might want to look at things like fwbuilder (my personal favorite),
gShield, or shorewall. All of them make building a router/NAT/firewall an whole
lot easier. They each have their strong points and weaknesses. If your just
trying to get things up and running and you can live with its limitations
gShield has a very low cost of entry. It is nothing more than a group of shell
scripts that you set some variables in a config file and load. I used it for a
long time until my needs exceeded its ability ( I needed to be able to handle
4 interfaces and gShield cannot do this).

HTH,

-- 
......Tom		Registered Linux User #14522	http://counter.li.org
tdiehl at rogueind.com	My current SpamTrap ------->	mtd123 at rogueind.com





More information about the fedora-test-list mailing list