Dan Widyono on 29 Apr 2004 17:06:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Newbie: help with setting up gateway


Douglas,

You have it, in the form of the iptables package.  You can either learn how
to use the nat table in the POSTROUTING chain (man iptables) or you can get
some other package which wraps around iptables and adds other features, such
as gShield (which I happen to use for this very purpose).  Then you only need
to modify some config file that's better documented for a n00b.

Say, I thought RH moved away from using ipchains by default?  Perhaps that's
Fedora...

The gateway box will have iptables installed with SNAT and masquerading set
up, and your internal systems will have their default route set to the
gateway's internal IP address.  DNS should still point to external name
servers.

More info at
	http://www.tldp.org/HOWTO/text/Masquerading-Simple-HOWTO

Dan W.

> The immediate question: I've got a Red Hat 9 box that I want to use as a 
> gateway. How do I know if IP masquerading is installed?

-- 
-- Daniel Widyono             --
-- www.widyono.net            --
-- www.cis.upenn.edu/~widyono --
-- 
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug