CentOS7默认的防火墙不是iptables,而是firewalle。
启动: systemctl start firewalld
关闭: systemctl stop firewalld
查看状态: systemctl status firewalld
开机禁用 : systemctl disable firewalld
开机启用 : systemctl enable firewalld
启动: systemctl start firewalld
关闭: systemctl stop firewalld
查看状态: systemctl status firewalld
开机禁用 : systemctl disable firewalld
开机启用 : systemctl enable firewalld
本文标题:Linux CentOS7 防火墙命令
本文链接:https://www.haomeiwen.com/subject/mpjtmqtx.html
网友评论