筛选Cloudflare的ip

筛选方法

Cloudflare 的CDN在国内总是会遇到不好用或连不上的情况,一般通过筛选可用的Cloudflare IP可以解决。下面是一个筛选IP地址的工具:

使用项目:https://github.com/XIU2/CloudflareSpeedTest

注意
要将ipv6.txt和ip.txt中的IP范围替换为最新的IP范围,最新的cloudflare的IP范围为:https://www.cloudflare.com/zh-cn/ips/

修改本地hosts文件

在windows的C:\Windows\System32\drivers\etc\hosts文件中添加DNS解析。