I am new to Linux. In CentOS 6.3 I added this rule:
iptables -I INPUT -p udp --dport 9494 -j ACCEPT
Now I am trying to save it:
/sbin/service iptables save
It gives me: [FAILED]
I tried to do: /sbin/service iptables stop
but it gives me FAILED on unloading modules iptable_filter iptable_filter [FAILED]es
You run:
That will store the current iptables rules in
/path/to/file
.Then to re-load the rules:
OK, I added rules to file
/etc/sysconfig/iptables
and it worked