这里显示的是 CF CDN 服务器所用的所有IP地址(由于宝塔目前只支持IPv4,所以规则里只有IPv4,共计1,786,880个IP地址)有需要给服务器添加白名单的,可以使用这里的记录。为了方便自己方便大家,缙哥哥整理了Cloudflare CDN IPv4的宝塔白名单导入规则:
设置这个需要有专业版防火墙,免费版的哪个设置了不行。
[["103.21.244.0","103.21.247.255"],["103.22.200.0","103.22.203.255"],["103.31.4.0","103.31.7.255"],["104.16.0.0","104.23.255.255"],["104.24.0.0","104.27.255.255"],["108.162.192.0","108.162.255.255"],["131.0.72.0","131.0.75.255"],["141.101.64.0","141.101.127.255"],["162.158.0.0","162.159.255.255"],["172.64.0.0","172.71.255.255"],["173.245.48.0","173.245.63.255"],["188.114.96.0","188.114.111.255"],["190.93.240.0","190.93.255.255"],["197.234.240.0","197.234.243.255"],["198.41.128.0","198.41.255.255"]]