centos关闭防火墙

cnetos7:

查看防火墙状态命令:systemctl status firewalld.service

关闭防火墙命令:systemctl stop firewalld.service

禁止防火墙开机自启:systemctl disable firewalld.service(永久关闭)

centos6:
临时关闭:service iptables stop

禁止开机自启:chkconfig iptables off(永久关闭)

posted @ 2020-08-31 10:36  轩辕吊雷  阅读(285)  评论(0编辑  收藏  举报