Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

ipchains problem



After upgrading to my dual CPU and having various problems I decided to
re-install RedHat 6.1.  Well this solved all the problems except one.  My
ipchains no longer work.  The internal network appears fine (my Win95 box
can ping the internal card on the Linux box and see the samba shares).
I ran a few basic check, the Linux machine can ping the windows one,
The win95 machine can ping the _internal_ network card on the Linux box.
The win95 machine cannot ping the _external_ network card on the Linux box.

eth0 is my external network card
90.0.0.x is my internal network (that worked fine before the upgrade)
The kernel is 2.2.12-20smp
Here is the script, I don't see anything wrong with it.  

--- begin include ---

/sbin/depmod -a 
/sbin/modprobe ip_masq_ftp 
/sbin/modprobe ip_masq_raudio 
/sbin/modprobe ip_masq_irc 
echo "1" > /proc/sys/net/ipv4/ip_forward 
echo "1" > /proc/sys/net/ipv4/ip_dynaddr 

/sbin/ipchains -M -S 7200 10 160 
/sbin/ipchains -A input -j ACCEPT -i eth0 -s 0/0 67 -d 0/0 68 -p udp 
/sbin/ipchains -P forward DENY 
/sbin/ipchains -A forward -s 90.0.0.0/24 -j MASQ 

--- end include ---

Any ideas?

			-fjr
-- 
Frank J. Ramsay
fjr at marsdome.penguinpowered.com

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org