After trying to find a listing to block most foreign IPs from accessing my FTP and WEB services to cut down on the
hacking on my Windows 2008 server I created the following. I started with all of the IP blocks and then removed the
IPs associated with ARIN (basically the Americas) and the local IPs that are used for internal access
to a website. As always I'm open to constructive comments. Note that previous tries at this destroyed
my server requiring a complete rebuild so I make absolutely no guarantee how this will
work for you (but it's what I'm using). I also ran the excellent script MOVEIIS7ROOT.BAT to move
inetpub from the %windir% directory to a non-O/S drive, which I believe is good practice. Note that when
installing IIS the option for to add "IP and Domain Restrictions" must be selected.
I ran this from DOS mode in the directory C:\Windows\System32\inetsrv
Note: better files for Windows Server 2008R2 are below:
This fixes FTP (WEB is below):
appcmd set config /section:ipsecurity
/+"[ipaddress='0.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='1.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='2.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='5.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='14.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='23.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='27.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='31.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='36.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='37.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='39.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='41.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='42.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='43.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='44.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='45.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='46.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='49.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='50.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='51.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='53.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='57.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='58.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='59.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='60.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='61.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='62.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='77.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='78.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='79.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='80.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='81.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='82.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='83.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='84.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='85.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='86.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='87.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='88.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='89.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='90.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='91.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='92.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='93.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='94.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='95.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='100.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='101.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='102.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='103.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='104.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='105.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='106.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='107.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='108.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='109.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='110.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='111.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='112.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='113.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='114.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='115.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='116.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='117.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='118.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='119.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='120.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='121.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='122.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='123.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='124.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='125.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='126.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='133.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='141.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='145.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='150.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='151.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='153.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='154.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='163.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='171.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='175.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='176.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='177.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='178.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='179.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='180.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='181.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='182.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='183.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='184.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='185.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='186.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='187.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='188.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='189.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='190.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='191.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='193.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='194.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='195.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='196.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='197.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='200.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='201.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='202.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='203.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='210.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='211.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='212.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='213.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='217.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='218.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='219.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='220.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='221.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='222.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='223.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='224.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='225.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='226.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='227.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='228.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='229.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='230.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='231.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='232.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='233.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='234.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='235.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='236.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='237.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='238.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='239.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='240.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='241.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='242.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='243.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='244.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='245.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='246.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='247.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='248.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='249.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='250.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='251.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='252.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='253.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='254.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='255.0.0.0',allowed='false',subnetMask='255.0.0.0']"
WEB
appcmd set config "WEBSERVERNAME"
-section:system.webServer/security/ipsecurity /+"[ipaddress='0.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='1.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='2.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='5.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='14.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='23.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='27.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='31.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='36.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='37.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='39.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='41.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='42.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='43.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='44.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='45.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='46.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='49.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='50.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='51.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='53.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='57.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='58.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='59.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='60.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='61.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='62.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='77.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='78.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='79.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='80.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='81.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='82.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='83.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='84.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='85.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='86.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='87.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='88.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='89.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='90.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='91.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='92.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='93.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='94.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='95.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='100.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='101.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='102.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='103.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='104.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='105.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='106.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='107.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='108.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='109.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='110.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='111.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='112.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='113.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='114.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='115.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='116.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='117.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='118.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='119.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='120.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='121.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='122.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='123.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='124.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='125.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='126.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='133.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='141.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='145.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='150.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='151.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='153.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='154.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='163.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='171.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='175.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='176.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='177.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='178.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='179.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='180.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='181.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='182.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='183.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='184.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='185.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='186.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='187.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='188.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='189.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='190.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='191.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='193.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='194.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='195.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='196.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='197.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='200.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='201.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='202.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='203.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='210.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='211.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='212.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='213.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='217.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='218.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='219.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='220.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='221.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='222.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='223.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='224.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='225.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='226.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='227.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='228.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='229.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='230.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='231.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='232.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='233.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='234.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='235.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='236.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='237.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='238.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='239.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='240.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='241.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='242.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='243.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='244.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='245.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='246.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='247.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='248.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='249.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='250.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='251.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='252.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='253.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='254.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
appcmd set config "WEBSERVERNAME" -section:system.webServer/security/ipsecurity
/+"[ipaddress='255.0.0.0',subnetMask='255.0.0.0',allowed='False']"
/commit:apphost
FTP Windows Server 2008R2
appcmd set config /section:ipsecurity /+"[ipaddress='1.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='2.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='5.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='14.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='23.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='27.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='31.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='36.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='37.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='39.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='41.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='42.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='43.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='44.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='45.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='46.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='49.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='50.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='51.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='53.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='57.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='58.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='59.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='60.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='61.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='62.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='77.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='78.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='79.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='80.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='81.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='82.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='83.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='84.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='85.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='86.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='87.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='88.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='89.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='90.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='91.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='92.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='93.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='94.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='95.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='100.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='101.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='102.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='103.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='104.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='105.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='106.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='107.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='108.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='109.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='110.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='111.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='112.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='113.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='114.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='115.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='116.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='117.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='118.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='119.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='120.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='121.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='122.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='123.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='124.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='125.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='126.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='133.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='141.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='145.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='150.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='151.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='153.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='154.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='163.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='171.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='175.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='176.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='177.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='178.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='179.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='180.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='181.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='182.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='183.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='184.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='185.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='186.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='187.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='188.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='189.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='190.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='191.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='193.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='194.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='195.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='196.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='197.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='200.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='201.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='202.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='203.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='210.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='211.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='212.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='213.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='217.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='218.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='219.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='220.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='221.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='222.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='223.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='224.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='225.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='226.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='227.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='228.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='229.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='230.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='231.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='232.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='233.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='234.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='235.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='236.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='237.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='238.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='239.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='240.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='241.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='242.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='243.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='244.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='245.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='246.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='247.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='248.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='249.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='250.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='251.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='252.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='253.0.0.0',allowed='false',subnetMask='255.0.0.0']"
appcmd set config /section:ipsecurity /+"[ipaddress='254.0.0.0',allowed='false',subnetMask='255.0.0.0']"
WEB Windows Server 2008R2
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='1.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='2.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='5.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='14.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='23.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='27.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='31.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='36.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='37.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='39.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='41.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='42.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='43.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='44.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='45.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='46.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='49.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='50.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='51.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='53.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='57.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='58.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='59.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='60.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='61.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='62.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='77.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='78.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='79.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='80.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='81.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='82.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='83.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='84.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='85.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='86.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='87.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='88.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='89.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='90.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='91.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='92.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='93.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='94.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='95.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='100.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='101.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='102.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='103.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='104.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='105.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='106.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='107.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='108.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='109.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='110.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='111.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='112.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='113.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='114.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='115.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='116.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='117.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='118.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='119.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='120.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='121.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='122.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='123.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='124.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='125.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='126.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='133.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='141.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='145.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='150.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='151.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='153.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='154.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='163.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='171.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='175.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='176.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='177.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='178.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='179.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='180.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='181.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='182.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='183.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='184.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='185.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='186.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='187.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='188.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='189.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='190.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='191.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='193.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='194.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='195.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='196.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='197.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='200.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='201.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='202.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='203.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='210.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='211.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='212.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='213.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='217.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='218.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='219.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='220.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='221.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='222.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='223.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='224.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='225.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='226.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='227.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='228.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='229.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='230.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='231.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='232.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='233.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='234.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='235.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='236.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='237.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='238.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='239.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='240.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='241.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='242.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='243.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='244.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='245.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='246.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='247.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='248.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='249.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='250.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='251.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='252.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='253.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
appcmd set config "WEBSITENAME" -section:system.webServer/security/ipSecurity
/+"[ipAddress='254.0.0.0',subnetMask='255.0.0.0',allowed='False']" /commit:apphost
One more tweak to hopefully at least slow down the hackers:
REM used so server doesn't
send private IP address
appcmd.exe set config -section:system.webServer/serverRuntime /alternateHostName:"WEBSITENAME"
/commit:apphost