小樱 发表于 2019/5/5 00:50

linux centos 7中关闭firewalld防火墙

启动
systemctl start firewalld

启用开机自启动
systemctl enable firewalld

关闭
systemctl stop firewalld

关闭开机自启动
systemctl disable firewalld

查看运行状态
firewall-cmd --state

一键关闭也可以
yum -y install iptables-services;service ip6tables stop;chkconfig ip6tables off;service iptables stop;chkconfig iptables off;systemctl stop firewalld;systemctl disable firewalld

页: [1]
查看完整版本: linux centos 7中关闭firewalld防火墙