> CentOS > CentOS运维 >

CentOS 7.0默认防火墙firewall

systemctl start firewalld.service # 启动firewall
systemctl stop firewalld.service # 停止firewall
systemctl disable firewalld.service  # 禁止firewall开机启动

systemctl start iptables.service # 启动iptables
systemctl stop iptables.service # 停止iptables
systemctl disable iptables.service # 禁止iptables开机启动


(责任编辑:IT)