"ヾ(◍°∇°◍)ノ゙加油哟~","愿我们不负昭华,以梦为马!","愿我们历尽千帆,归来仍是少年!"

iptables防火墙限制 centos中有 firewalld selinux 还有 iptables

1、出入战规则

 

 

2、firewall

 firewall-cmd --permanent --zone=public --add-port=3306/tcp --permanent

3、iptables

iptables -I INPUT -p tcp --dport 3306 -j ACCEPT

 

posted @ 2022-11-25 23:43  深夜独行侠  阅读(26)  评论(0编辑  收藏  举报