返回》

CentOS7/8系统防火墙报错Warning:allowzonedrifting is enabled.This is…的解决办法

有蛮多小伙伴在使用BT宝塔面板的时候,为了安全起见都安装了系统防火墙,结果发现在安装完系统防火墙这个插件的时候,会一直卡在正在获取列表的状态,查看系统的firewalld的状态时候,会提示报错Warning:allowzonedrifting is enabled.This is等。这里给出解决办法。什么?还没安装BT宝塔面板?点击如下安装:宝塔服务器面板,一键全能部署及管理,送你3188元礼包,点我领取界面提示报错的代码如下:Warning:allowzonedrifting is enabled.This is considered an insecure configuration option.It will be removed  in a future release ... ling it now解决方案:1、打开firewalld的配置文件:文件位置:/etc/firewalld/firewalld.conf找到AllowZoneDrifting=yes这个参数,改成AllowZoneDrifting=no 2、重启系统防火墙:systemctl restart firewalld查看重启后的状态systemctl status firewalld3、正常打开系统防火墙
THE END