1. vi /etc/sysconfig/iptables
To allow inbound traffic add this rule: -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT
To allow outbound traffic add this rule: -A OUTPUT -p tcp -m tcp --dport 3306 -j ACCEPT
Now restart IPtables: /etc/init.d/iptables restart
To allow inbound traffic add this rule: -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT
To allow outbound traffic add this rule: -A OUTPUT -p tcp -m tcp --dport 3306 -j ACCEPT
Now restart IPtables: /etc/init.d/iptables restart
No comments:
Post a Comment