Skip to content

服务器搭建测速地址的问题 #571

Closed Answered by XIU2
taosuayou asked this question in 提问
Discussion options

You must be logged in to vote

你可以添加防火墙规则:

假设你的下载测速地址是:https://123.abc.com/test.bin (下方以这个为例

主机名 等于 123.abc.com
And
URI 不等于 /test.bin

主机名 等于 123.abc.com
And
用户代理 不等于 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36

你也可以再加上其他限制,比如 国内/地区 不包含以下各项 China 什么的。

如果写成 Cloudflare 的防火墙表达式的话则是这样:

(http.host eq "123.abc.com" and http.request.uri ne "/test.bin") or (http.host eq "123.abc.com" and http.user_agent ne "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36")

然后下面的采取措施选择 阻止


这只能算是基础措施,对你的情况(移动墙中墙)有没有预防效果我就不清楚了。

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by taosuayou
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
提问
Labels
None yet
2 participants