虽然百度云加速也支持海外IP防御,不过这个功能需要商务版才可以开启,而且即使开启海外防御也是会计算进套餐里的,那样的话相当不值得。
今天主机吧教大家利用宝塔防火墙搭配百度云加速CDN拦截海外IP。
首先,开启宝塔的防火墙,然后添加百度云加速IP白名单,记住第一件事是添加IP白名单。
IP白名单如下:
111.174.61.1-111.174.61.255
111.174.63.1-111.174.63.255
220.195.21.1-220.195.21.255
220.195.22.1-220.195.22.255
119.84.92.1-119.84.92.255
119.84.93.1-119.84.93.255
117.27.149.1-117.27.149.255
119.167.246.1-119.167.246.255
116.31.126.1-116.31.126.255
116.31.127.1-116.31.127.255
183.60.235.1-183.60.235.255
112.25.89.1-112.25.89.255
112.25.90.1-112.25.90.255
112.25.91.1-112.25.91.255
112.29.157.1-112.29.157.255
112.29.158.1-112.29.158.255
112.29.159.1-112.29.159.255
115.231.186.1-115.231.186.255
115.231.187.1-115.231.187.255
122.246.5.1-122.246.5.255
119.188.9.1-119.188.9.255
119.188.97.1-119.188.97.255
119.188.14.1-119.188.14.255
119.188.132.1-119.188.132.255
119.188.70.64-119.188.70.127
42.81.6.1-42.81.6.255
42.81.8.1-42.81.8.255
117.34.13.1-117.34.13.255
117.34.14.1-117.34.14.255
117.34.60.1-117.34.60.255
117.34.61.1-117.34.61.255
117.34.62.1-117.34.62.255
117.34.28.1-117.34.28.255
101.69.175.1-101.69.175.255
61.241.118.1-61.241.118.255
117.147.214.1-117.147.214.255
117.147.215.1-117.147.215.255
221.178.56.1-221.178.56.255
221.178.57.1-221.178.57.255
221.178.58.1-221.178.58.63
150.138.149.1-150.138.149.255
150.138.150.1-150.138.150.255
150.138.151.1-150.138.151.255
124.95.191.1-124.95.191.255
124.95.168.1-124.95.168.255
124.95.188.1-124.95.188.255
219.159.190.1-219.159.190.255
222.216.190.1-222.216.190.255
219.159.84.1-219.159.84.255
122.190.1.1-122.190.1.255
122.190.2.1-122.190.2.255
122.190.3.1-122.190.3.255
220.170.184.1-220.170.184.255
220.170.185.1-220.170.185.255
220.170.186.1-220.170.186.255
113.207.100.1-113.207.100.255
113.207.101.1-113.207.101.255
113.207.102.1-113.207.102.255
183.232.51.1-183.232.51.255
183.232.53.1-183.232.53.255
183.61.177.1-183.61.177.255
119.147.134.1-119.147.134.255
183.61.236.1-183.61.236.255
183.61.190.1-183.61.190.255
14.17.71.1-14.17.71.255
157.255.24.1-157.255.24.255
157.255.25.1-157.255.25.255
157.255.26.1-157.255.26.255
111.32.134.1-111.32.134.255
111.32.135.1-111.32.135.255
111.32.136.1-111.32.136.255
125.39.174.1-125.39.174.255
125.39.238.1-125.39.238.255
125.39.239.1-125.39.239.255
42.236.93.1-42.236.93.255
42.236.94.1-42.236.94.255
42.236.7.64-42.236.7.127
42.236.7.128-42.236.7.255
58.211.2.1-58.211.2.255
58.211.137.1-58.211.137.255
61.155.149.1-61.155.149.255
111.132.134.1-111.132.134.255
111.132.135.1-111.132.135.255
111.132.136.1-111.132.136.255
180.163.188.1-180.163.188.255
180.163.189.1-180.163.189.255
101.227.206.1-101.227.206.255
101.227.207.1-101.227.207.255
180.163.113.1-180.163.113.255
180.163.154.1-180.163.154.255
180.163.153.1-180.163.153.255
103.21.244.1-103.21.247.255
103.22.200.1-103.22.203.255
然后进入宝塔防火墙开启屏蔽海外访问即可。
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/250164.html