很多站长使用的是宝塔面板建的站,而且还开通了防火墙,再接入百度云加速的话,宝塔防火墙会拦截掉百度的IP,导致无法正常访问,这个时候我们就需要进入宝塔面板把百度云加速的IP段加白,具体进入宝塔防火墙设置,全局设置,找到IP白名单设置
百度会不定时新增ip段,查看百度云最新ip段:https://su.baidu.com/help/index.html#/10_changjianwenti/0_HIDE_FAQ/20_baiduyunjiasujiedianIPdizhiduan.md
如果觉得麻烦可以直接导入文件
批量导入有格式要求,以下是更新余(2021年8月3日更新)的ip段,复制即可:
[[[101,227,206,0],[101,227,206,255]],
[[101,227,207,0],[101,227,207,255]],
[[101,69,175,0],[101,69,175,255]],
[[111,174,61,0],[111,174,61,255]],
[[111,174,63,0],[111,174,63,255]],
[[111,32,134,0],[111,32,134,255]],
[[111,32,135,0],[111,32,135,255]],
[[111,32,136,0],[111,32,136,255]],
[[112,25,89,0],[112,25,89,255]],
[[112,25,90,0],[112,25,90,255]],
[[112,25,91,0],[112,25,91,255]],
[[112,29,157,0],[112,29,157,255]],
[[112,29,158,0],[112,29,158,255]],
[[112,29,159,0],[112,29,159,255]],
[[113,207,100,0],[113,207,100,255]],
[[113,207,101,0],[113,207,101,255]],
[[113,207,102,0],[113,207,102,255]],
[[115,231,186,0],[115,231,186,255]],
[[115,231,187,0],[115,231,187,255]],
[[116,31,126,0],[116,31,126,255]],
[[116,31,127,0],[116,31,127,255]],
[[117,147,214,0],[117,147,214,255]],
[[117,147,215,0],[117,147,215,255]],
[[117,27,149,0],[117,27,149,255]],
[[117,34,13,0],[117,34,13,255]],
[[117,34,14,0],[117,34,14,255]],
[[117,34,28,0],[117,34,28,255]],
[[117,34,60,0],[117,34,60,255]],
[[117,34,61,0],[117,34,61,255]],
[[117,34,62,0],[117,34,62,255]],
[[119,147,134,0],[119,147,134,255]],
[[119,167,246,0],[119,167,246,255]],
[[119,188,132,0],[119,188,132,255]],
[[119,188,14,0],[119,188,14,255]],
[[119,188,9,0],[119,188,9,255]],
[[119,188,97,0],[119,188,97,255]],
[[119,84,92,0],[119,84,92,255]],
[[119,84,93,0],[119,84,93,255]],
[[122,190,1,0],[122,190,1,255]],
[[122,190,2,0],[122,190,2,255]],
[[122,190,3,0],[122,190,3,255]],
[[122,246,5,0],[122,246,5,255]],
[[124,95,168,0],[124,95,168,255]],
[[124,95,188,0],[124,95,188,255]],
[[124,95,191,0],[124,95,191,255]],
[[125,39,174,0],[125,39,174,255]],
[[125,39,238,0],[125,39,238,255]],
[[125,39,239,0],[125,39,239,255]],
[[14,17,71,0],[14,17,71,255]],
[[150,138,149,0],[150,138,149,255]],
[[150,138,150,0],[150,138,150,255]],
[[150,138,151,0],[150,138,151,255]],
[[157,255,24,0],[157,255,24,255]],
[[157,255,25,0],[157,255,25,255]],
[[157,255,26,0],[157,255,26,255]],
[[180,163,113,0],[180,163,113,255]],
[[180,163,153,0],[180,163,153,255]],
[[180,163,154,0],[180,163,154,255]],
[[180,163,188,0],[180,163,188,255]],
[[180,163,189,0],[180,163,189,255]],
[[183,232,51,0],[183,232,51,255]],
[[183,232,53,0],[183,232,53,255]],
[[183,60,235,0],[183,60,235,255]],
[[183,61,177,0],[183,61,177,255]],
[[183,61,190,0],[183,61,190,255]],
[[183,61,236,0],[183,61,236,255]],
[[219,159,190,0],[219,159,190,255]],
[[219,159,84,0],[219,159,84,255]],
[[220,170,184,0],[220,170,184,255]],
[[220,170,185,0],[220,170,185,255]],
[[220,170,186,0],[220,170,186,255]],
[[220,195,21,0],[220,195,21,255]],
[[220,195,22,0],[220,195,22,255]],
[[221,178,56,0],[221,178,56,255]],
[[221,178,57,0],[221,178,57,255]],
[[222,216,190,0],[222,216,190,255]],
[[42,236,93,0],[42,236,93,255]],
[[42,236,94,0],[42,236,94,255]],
[[42,81,6,0],[42,81,6,255]],
[[42,81,8,0],[42,81,8,255]],
[[58,211,137,0],[58,211,137,255]],
[[58,211,2,0],[58,211,2,255]],
[[61,155,149,0],[61,155,149,255]],
[[61,241,118,0],[61,241,118,255]],
[[221,178,58,0],[221,178,58,63]],
[[119,188,70,64],[119,188,70,127]],
[[42,236,7,128],[42,236,7,255]],
[[42,236,7,64],[42,236,7,127]]]