关闭防火墙相关指令

查看防火墙

service iptables status

关闭防火墙

service iptables stop

查看防火墙开机启动状态

chkconfig iptables --list

关闭防火墙开机启动

chkconfig iptables off

CentOS7关闭防火墙是systemctl stop firewalld,永久关闭时systemctl disabled firewalld

 

 

posted @ 2019-12-10 13:48  帖子搬运工  阅读(292)  评论(0编辑  收藏  举报