查看防火墙状态: systemctl status firewalld   

关闭防火墙: systemctl stop firewalld

开启防火墙: systemctl start firewalld

 

 

将关闭防火墙设置为开机启动:  systemctl disable firewalld.service

查看开机状态: systemctl list-unit-files

比如查看防火墙开机状态: systemctl list-unit-files | grep firewalld

 

 

 

posted on 2019-11-19 21:47  显示账号  阅读(248)  评论(0编辑  收藏  举报