07. The firewall opens port 3306

07. The firewall opens port 3306

iptables -A INPUT -p tcp --dport 3306 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 3306 -j ACCEPT

Guess you like

Origin www.cnblogs.com/zhangyu-zhj/p/12737860.html