防火墙拦截百度蜘蛛解决方案

前言

近期发现,宝塔免费版的防火墙如果不添加蜘蛛IP白名单会拦截蜘蛛,拦截了蜘蛛会影响网站收录SEO等影响,所以我们要对蜘蛛进行放行。

百度蜘蛛IP

[[[61,135,186,0],[61,135,186,255]],[[61,135,169,0],[61,135,169,255]],[[61,135,165,0],[61,135,165,255]],[[61,135,162,0],[61,135,162,255]],[[220,181,32,0],[220,181,32,255]],[[220,181,108,0],[220,181,108,255]],[[180,76,5,0],[180,76,5,255]],[[180,76,15,0],[180,76,15,255]],[[124,166,232,0],[124,166,232,255]],[[123,125,71,0],[123,125,71,255]],[[123,125,68,0],[123,125,68,255]],[[123,125,66,0],[123,125,66,255]],[[116,179,32,0],[116,179,32,255]],[[111,206,221,0],[111,206,221,255]],[[111,206,198,0],[111,206,198,255]]]

百度云加速节点

[[[199,27,128,1],[199,27,135,255]],[[198,41,128,1],[198,41,255,255]],[[197,234,240,1],[197,234,243,255]],[[190,93,240,1],[190,93,255,255]],[[188,114,96,1],[188,114,111,255]],[[173,245,48,1],[173,245,63,255]],[[172,64,0,1],[172,71,255,255]],[[162,158,0,1],[162,159,255,255]],[[141,101,64,1],[141,101,127,255]],[[131,0,72,1],[131,0,75,255]],[[108,162,192,1],[108,162,255,255]],[[104,16,0,1],[104,31,255,255]],[[103,31,4,1],[103,31,7,1]],[[103,22,200,1],[103,22,203,255]],[[103,21,244,1],[103,21,247,255]],[[111,132,134,1],[111,132,134,255]],[[117,27,149,1],[117,27,149,255]],[[117,147,215,1],[117,147,215,255]],[[117,147,214,1],[117,147,214,255]],[[219,159,84,1],[219,159,84,255]],[[222,216,190,1],[222,216,190,255]],[[101,69,175,1],[101,69,175,255]],[[61,241,118,1],[61,241,118,255]],[[122,246,5,1],[122,246,5,255]],[[115,231,187,1],[115,231,187,255]],[[115,231,186,1],[115,231,186,255]],[[124,95,191,1],[124,95,191,255]],[[124,95,188,1],[124,95,188,255]],[[124,95,168,129],[124,95,168,254]],[[42,236,7,65],[42,236,7,94]],[[42,236,7,129],[42,236,7,190]],[[42,236,94,1],[42,236,94,255]],[[42,236,93,1],[42,236,93,255]],[[112,29,159,1],[112,29,159,255]],[[112,29,158,1],[112,29,158,255]],[[112,29,157,1],[112,29,157,255]],[[183,61,190,1],[183,61,190,255]],[[183,61,177,1],[183,61,177,255]],[[119,147,134,1],[119,147,134,255]],[[14,17,71,1],[14,17,71,255]],[[183,61,236,1],[183,61,236,255]],[[116,31,127,1],[116,31,127,255]],[[116,31,126,1],[116,31,126,255]],[[183,60,235,1],[183,60,235,255]],[[61,155,165,1],[61,155,165,255]],[[61,155,149,1],[61,155,149,255]],[[61,156,149,1],[61,156,149,255]],[[220,170,184,1],[220,170,186,255]],[[59,51,81,129],[59,51,81,254]],[[150,138,151,1],[150,138,151,255]],[[150,138,150,1],[150,138,150,255]],[[150,138,149,1],[150,138,149,255]],[[119,167,246,1],[119,167,246,255]],[[111,174,63,1],[111,174,63,255]],[[111,174,61,1],[111,174,61,255]],[[122,190,1,1],[122,190,3,255]],[[58,211,137,1],[58,211,137,255]],[[58,211,2,1],[58,211,2,255]],[[112,25,91,1],[112,25,91,255]],[[112,25,90,1],[112,25,90,255]],[[112,25,89,1],[112,25,89,255]],[[119,32,24,1],[119,32,24,255]],[[157,255,26,1],[157,255,26,255]],[[157,255,25,1],[157,255,25,255]],[[183,232,53,1],[183,232,53,255]],[[183,232,51,1],[183,232,51,255]],[[119,188,132,1],[119,188,132,255]],[[60,217,232,1],[60,217,232,255]],[[119,188,14,1],[119,188,14,255]],[[119,188,9,1],[119,188,9,255]],[[119,188,97,1],[119,188,97,255]],[[117,34,62,1],[117,34,62,255]],[[117,34,61,1],[117,34,61,255]],[[117,34,60,1],[117,34,60,255]],[[117,34,28,1],[117,34,28,255]],[[117,34,14,1],[117,34,14,255]],[[117,34,13,1],[117,34,13,255]],[[111,63,68,1],[111,63,68,255]],[[111,63,67,1],[111,63,67,255]],[[220,195,21,1],[220,195,21,126]],[[220,195,22,1],[220,195,22,255]],[[61,182,136,1],[61,182,136,255]],[[61,182,137,1],[61,182,137,255]],[[119,84,1,1],[119,84,1,255]],[[221,178,58,1],[221,178,58,255]],[[221,178,57,1],[221,178,57,255]],[[221,178,56,1],[221,178,56,255]],[[113,207,102,1],[113,207,102,255]],[[113,207,101,1],[113,207,101,255]],[[113,207,100,1],[113,207,100,255]],[[119,84,93,1],[119,84,93,255]],[[119,84,92,1],[119,84,92,255]],[[180,163,153,1],[180,163,153,255]],[[180,163,154,1],[180,163,154,255]],[[180,163,113,1],[180,163,113,255]],[[101,227,207,1],[101,227,207,255]],[[101,227,206,1],[101,227,206,255]],[[180,163,189,1],[180,163,189,255]],[[180,163,188,1],[180,163,188,255]],[[42,81,8,1],[42,81,8,255]],[[42,81,6,1],[42,81,6,255]],[[125,39,238,1],[125,39,238,255]],[[125,39,239,1],[125,39,239,255]],[[125,39,174,1],[125,39,174,255]],[[111,32,136,1],[111,32,136,255]],[[111,32,134,1],[111,32,134,255]],[[111,32,135,1],[111,32,135,255]]]

使用方法

打开宝塔 – Nginx免费防火墙 – 全局配置 – IP白名单 – 设置 – 导入以上IP段即可

关于蜘蛛

以上的百度蜘蛛IP池取自宝塔防火墙收费版,持续更新

其他防火墙

如果是服务器用的其他应用服务,而且也有防火墙可对以上的IP段进行白名单放行,举一反三