I try opening my dns port by following rules:
iptables -A INPUT -p udp -m state --state NEW --dport 53 -j ACCEPT iptables -A INPUT -p tcp -m state --state NEW --dport 53 -j ACCEPT service iptables save service iptables restart
But It not works, then I try Opening DNS from following:
And it works.
What's the relation between iptables and firewall?