centos关闭防火墙
cnetos7:
查看防火墙状态命令:systemctl status firewalld.service
关闭防火墙命令:systemctl stop firewalld.service
禁止防火墙开机自启:systemctl disable firewalld.service(永久关闭)
centos6:
临时关闭:service iptables stop
禁止开机自启:chkconfig iptables off(永久关闭)
cnetos7:
查看防火墙状态命令:systemctl status firewalld.service
关闭防火墙命令:systemctl stop firewalld.service
禁止防火墙开机自启:systemctl disable firewalld.service(永久关闭)
centos6:
临时关闭:service iptables stop
禁止开机自启:chkconfig iptables off(永久关闭)