输入命令
systemctl status firewalld.service
报错如下:
WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. It will be removed in a future release. Please consider disabling it now.
解决办法
编辑firewall配置文件
vim /etc/firewalld/firewalld.conf
找到 AllowZoneDrifting
将AllowZoneDrifting=yes 改为 AllowZoneDrifting=no
保存文件.
重启防火墙
systemctl reload firewalld.service
或
systemctl restart firewalld.service
ok
End