octagon 发表于 2025-7-29 18:58:37

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

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:v11
系统版本:debian12
问题描述:
相关截图(日志、错误):
Chain IN_BT (1 references)
target   prot opt source               destination         
IN_BT_user_port0    --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_ip0    --0.0.0.0/0            0.0.0.0/0         
IN_BT_log0    --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_Country0    --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-7-30 14:16:24

修复一下面板
再执行下面命令:
cd /www/server/panel/script && sh init_firewall.sh clean && sh init_firewall.sh
页: [1]
查看完整版本: 【待反馈】系统防火墙 ip规则 优先级 低于了 地区规则。de...