当前位置:论坛首页 > Linux面板 > 求助

【待反馈】系统防火墙 ip规则 优先级 低于了 地区规则。de...

发表在 Linux面板2025-7-29 18:58 [复制链接] 1 146

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:v11
系统版本:debian12
问题描述:
相关截图(日志、错误):

Chain IN_BT (1 references)
target     prot opt source               destination         
IN_BT_user_port  0    --  0.0.0.0/0            0.0.0.0/0           
IN_BT_ip   0    --  0.0.0.0/0            0.0.0.0/0           
IN_BT_user_ip  0    --  0.0.0.0/0            0.0.0.0/0           
IN_BT_log  0    --  0.0.0.0/0            0.0.0.0/0           

Chain IN_BT_Country (1 references)
target     prot opt source               destination         
DROP       0    --  0.0.0.0/0            0.0.0.0/0            match-set in_bt_country_HK src

Chain IN_BT_ip (1 references)
target     prot opt source               destination         
IN_BT_Country  0    --  0.0.0.0/0            0.0.0.0/0           

Chain IN_BT_log (1 references)
target     prot opt source               destination         

Chain IN_BT_user_ip (1 references)
target     prot opt source               destination         
DROP       0    --  0.0.0.0/0            0.0.0.0/0            match-set in_bt_user_drop_ipset src
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0            match-set in_bt_user_accept_ipset src

Chain IN_BT_user_port (1 references)
target     prot opt source               destination         

IN_BT_user_ip 是不是应该在  IN_BT_Country 之前才有效?


已经用香港ip测试过了。的确地区禁止了,指定放行的香港某个ip,该ip依然被禁止访问



截屏2025-07-29 18.40.11.png
使用道具 举报 只看该作者 回复
发表于 2025-7-30 14:16:24 | 显示全部楼层
修复一下面板
再执行下面命令:
  1. cd /www/server/panel/script && sh init_firewall.sh clean && sh init_firewall.sh
复制代码
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表