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

ipchains



Hey gang.  I'm having trouble getting to certain sites (most importantly
slashdot.org) through my gateway box.  It's running redhat 6.0.  I
downloaded the latest RPM for ipchains and installed it.  There was no
change.

Here's the script that runs at startup:

#!/bin/sh
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -P forward DENY
ipchains -A forward -j MASQ -b -s 192.168.0.0/16 -d 0.0.0.0/0
ipchains -A forward -j MASQ -b -s 192.168.1.0/16 -d 0.0.0.0/0
modprobe ip_masq_ftp


Is anything missing or just plain wrong???

Thanks a lot!
-- 

Wesley Leonard
marshall@pacdemon.org

http://www.pacdemon.org
"...I want Linux to be on the cutting edge, and even a bit past the
edge, because what's past the edge today is what's on your desktop
tomorrow."
	--Linus Torvalds