[olug] Firewall Newbie needs help
Trent Melcher
tmelcher at trilogytel.com
Wed Mar 5 17:00:18 UTC 2003
Attached you will find a startup script I used for a while until I bought a
router.
I ran this on a RH7.2 box, THis is a basic setup to get going, you will
probably want to lock it down after you have it working.
IPtables should be the same across distro's so you should be able to make it
work.
Trent
\\\///
/ _ _ \
(| (.)(.) |)
+--------.OOOo--()--oOOO.----------+
|Trent Melcher |
|Network/System Administrator |
|Startouch International LTD. |
|402.346.4600 x103 |
+----------.oooO-------------------+
( ) Oooo.
\ ( ( )
\_) ) /
(_/
-----Original Message-----
From: olug-admin at olug.org [mailto:olug-admin at olug.org]On Behalf Of Mike
Hostetler
Sent: Wednesday, March 05, 2003 10:11 AM
To: olug at olug.org
Subject: [olug] Firewall Newbie needs help
I've finally got around to getting my wife's old PC out of the closet,
putting another NIC card into my Linux box, and then have two machines
using my Cox connection. (The other machine now has BeOS R5 installed,
which is pretty cool, even though it isn't much more than a plaything).
I have both machines up and going, reconfigured the kernel (2.4.20)
as a router, and shut off ICMP, martians, etc. within /proc.
Now I'm working my my tables. From the various help on the net, this
should work, but doesn't:
gideon linux-2.4.20-gentoo-r1 # iptables -t nat -A POSTROUTING -o eth0 -j
MASQUERADE
iptables: Invalid argument
What argument isn't valid?
-- mikeh
_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: runrules.txt
URL: <http://lists.olug.org/pipermail/olug/attachments/20030305/ec929890/attachment.txt>
More information about the OLUG
mailing list