centos7关闭防火墙
centos6中防火墙是iptables,centos7中防火墙是firewalld
在centos7中用service iptables status查看防火墙状态会报错
Redirecting to /bin/systemctl status iptables.service
Unit iptables.service could not be found.
centos7中启动防火墙命令是systemctl status firewalld
查看 systemctl status firewalld
关闭 systemctl stop firewalld
永久关闭 systemctl disable firewalld