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]