uuWAF icon indicating copy to clipboard operation
uuWAF copied to clipboard

升级7.0后原来的限制外网访问规则无效了

Open bjmjaai opened this issue 7 months ago • 1 comments

local country, province, city = waf.ip2loc(waf.ip) if country ~= "" then return true, "限制外网访问", true end return false 7.0中怎么写

bjmjaai avatar Jul 02 '25 11:07 bjmjaai

限制外网完全没必要这么用,直接判断waf.ip是不是内网ip就可以了

Safe3 avatar Jul 03 '25 12:07 Safe3