https://www.ip2location.com/free/visitor-blocker

有 .htaccess web.config等

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

 

若是iis

打开C:\Windows\System32\inetsrv\config\applicationHost.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放前面

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄