iptables redhat 7.1 installation script
Thu, 31 May 2001 22:46:24 -0400
Subject: iptables redhat 7.1 installation script
Date: Thu, May 31, 2001 at 04:15:01PM -0700
In reply to:Arlana Alea
Quoting Arlana Alea(email@example.com):
> I wrote a script file, iptables, that contains all my rules for my
> firewall for a Linux 2.4.2 Redhat 7.1 system.
> I placed the script file in /etc/sysconfig. I saw in
> /etc/init.d/iptables checks for a config file = /etc/sysconfig/iptables.
> Once the system was up and running I did the following
> /etc/init.d/iptables restart
> and got the following
> Flushing all current rules and user defined chains: [ OK ]
> Clearing all current rules and user defined chains: [ OK ]
> Applying iptables firewall rules: [ OK ]
> Bad argument 'modprobe'
> Try 'iptables-restore -h' or iptables-restore --help; for more
> [ FAILED ]
> * I tried to comment out the lines that began with modprobe but then I'd
> get the same result except the
> Bad argument would be 'iptables'
> I tried replacing the lines with /sbin/modprobe and /sbin/iptables.
> Those didn't work either.
> My script file begins as follows:
> modprobe ipt_LOG
> modprobe ip_tables
> modprobe ip_conntrack
> modprobe ip_conntrack_ftp
Try this instead of the above
> iptables -F
> iptables -X
> iptables -Z
> Any clue to why this may be happening? Your help is always greatly
> Thanks, LaNi
Every time I type 'win', I loose ...