下图所示,表示防火墙关闭:
以下是防火墙常用的一些命令:
启动:service firewalld start
systemctl start firewalld
查看状态:service firewalld status
systemctl status firewalld
停止自启: service firewalld disable
systemctl disable firewalld
禁用:service firewalld stop
systemctl stop firewalld
重启:service firewalld restart
systemctl restart firewalld
上图的命令,上一行是旧的,下一行是新的。
若有错处,望指正。