@MinecraftCloudflare WAF 自用规则分享 中发帖

[image] 
主要是屏蔽国外的请求,以及机器人
(not ip.src.country in {"CN" "HK" "MO" "TW"})
or (starts_with(http.x_forwarded_for, "1*"))
or (starts_with(http.x_forwarded_for, "2*"))
or (starts_with(http.x_forwarded_for, "3*"))
or (starts_with(http.x_forwarded_for, "4*"))
or (starts_with(http.x_forwarded_for, "5*"))
or (starts_with(http.x_forwarded_for, "6*"))
or (starts_with(http.x_forwarded_for, "7*"))
o...