ipchains problem

Frank Ramsay fjr at marsdome.penguinpowered.com
Sat Apr 15 21:23:40 EDT 2000


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).



More information about the Discuss mailing list