https://www.ip2location.com/free/visitor-blocker
有 .htaccess web.config等
以iis为例
打开C:WindowsSystem32inetsrvconfigapplicationHost.config
在
<location path="www.surveybuy.com">
<system.webServer>
<security>
<ipSecurity allowUnlisted="true">
<clear/>
<add ipAddress="xx.xx.xx.xx" subnetMask="xx.xx.xx.xx" allowed="true"/>
<add ipAddress="218.30.53.128" subnetMask="255.255.255.128"/>
</ipSecurity>
</security>
</system.webServer>
</location>
内加入允许和拒绝的ip
记得把允许的ip放前面