I am inserting the rule property :: saving :: restarting and the rule is not committed. I am doing the following:
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 3306 -j ACCEPT
service iptables save
service iptables restart
I simply rebooted the machine.
When I do:
I don't see the rule committed and I cannot connect from the outside.
I saw a complex version of this rule: iptables -I INPUT -i eth0 -p tcp -s 18.104.22.168 -d 22.214.171.124 --destination-port 3306 -j ACCEPT