Description of problem:
Start with a fresh iptables ruleset.
service iptables stop
rm /etc/sysconfing/iptables
add the following rule (among other if you wish):
iptables -A INPUT -p icmp --icmp-type any -j ACCEPT
service iptables save
now if you try a "service iptables start" you will get:
"Applying iptables firewall rules: Bad argument `any'"
cat your /etc/sysconfig/iptables and it appears that the "service
iptables save" did not save the command correctly:
cat /etc/sysconfig/iptables|grep icmp
returns
-A INPUT -p icmp -m icmp any -j ACCEPT
Version-Release number of selected component (if applicable):
iptables-1.2.8-12
How reproducible:
Always
Steps to Reproduce:
1. service iptables stop
2. rm /etc/sysconfing/iptables
3. iptables -A INPUT -p icmp --icmp-type any -j ACCEPT
4. service iptables save
5. service iptables start
Actual Results: "Applying iptables firewall rules: Bad argument `any'"
Expected Results: iptables should start without error.