[101153] in RedHat Linux List
Re: IP Masquerading.........
daemon@ATHENA.MIT.EDU (James Ervin)
Tue Nov 24 21:53:30 1998
Date: Tue, 24 Nov 1998 21:53:11 -0500
To: redhat-list@redhat.com
From: James Ervin <james@kites.org>
In-Reply-To: <365A3A3B.C86C37C5@neosoft.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
No, you are not "out there". Simple actually, Your linux box gets two
nics, one has the assigned IP, the other has the gateway IP on your
unpublished subnet. Get each interface working and verify that they are
set up correctly. You recompile the kernel to enable masq, firewalling
ect. You then write a simple script that puts in place /sbin/ipfwadm
rulls, such as:
ipfwadm -F -a m -P tcp -S "$LOCALNET" -D "$ANYWHERE"
ipfwadm -F -a m -P udp -S "$LOCALNET" -D "$ANYWHERE"
ipfwadm -F -a deny -S "$ANYWHERE" -D "$ANYWHERE" -o
Along the way, you will get stuck, but you will find the answer.
end
James Ervin
Night: james@kites.org
http://www.kites.org
Day: james@liberty.ci.bedford.va.us
http://www.ci.bedford.va.us
Check out the WebCam:
http://camera.ci.bedford.va.us
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.