Linux命令 -- firewalld 防火墙

时间:2020-10-21 21:28:47   收藏:0   阅读:39
Centos 7 使用firewalld
查看防火墙状态
systemctl status firewalld
关闭防火墙
临时关闭
systemctl stop firewalld
永久关闭需要把开机自启动关闭
systemctl disable firewalld
检查服务状态
systemctl is-active firewalld #检查服务是否正常运行
systemctl is-enable firewalld #检查服务是否开机运行

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!