1、出入战规则
2、firewall
firewall-cmd --permanent --zone=public --add-port=3306/tcp --permanent
3、iptables
iptables -I INPUT -p tcp --dport 3306 -j ACCEPT
标签:iptables,centos,--,selinux,tcp,firewall From: https://www.cnblogs.com/torchstar/p/16926696.html