首页 > 系统相关 >iptables防火墙限制 centos中有 firewalld selinux 还有 iptables

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

时间:2022-11-25 23:57:35浏览次数:41  
标签:iptables centos -- selinux tcp firewall

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

相关文章