Skip to content

Instantly share code, notes, and snippets.

@CameronVetter
Last active May 23, 2018 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CameronVetter/deab548614e231a8cdb4fbc6f7b0dfd6 to your computer and use it in GitHub Desktop.
Save CameronVetter/deab548614e231a8cdb4fbc6f7b0dfd6 to your computer and use it in GitHub Desktop.
Configure a Web App to not respond to traffic unless it is through the WAF or a Traffic Manager Probe
<system.webServer>
<security>
<ipSecurity allowUnlisted="false" denyAction="Forbidden">
<add ipAddress="52.162.XXX.XXX" allowed="true" />
<add ipAddress="40.124.XXX.XXX" allowed="true" />
<add ipAddress="40.68.30.66" allowed="true" />
<add ipAddress="40.68.31.178" allowed="true" />
<add ipAddress="137.135.80.149" allowed="true" />
<add ipAddress="137.135.82.249" allowed="true" />
<add ipAddress="23.96.236.252" allowed="true" />
<add ipAddress="65.52.217.19" allowed="true" />
<add ipAddress="40.87.147.10" allowed="true" />
<add ipAddress="40.87.151.34" allowed="true" />
<add ipAddress="13.75.124.254" allowed="true" />
<add ipAddress="13.75.127.63" allowed="true" />
<add ipAddress="52.172.155.168" allowed="true" />
<add ipAddress="52.172.158.37" allowed="true" />
<add ipAddress="104.215.91.84" allowed="true" />
<add ipAddress="13.75.153.124" allowed="true" />
<add ipAddress="13.84.222.37" allowed="true" />
<add ipAddress="23.101.191.199" allowed="true" />
<add ipAddress="23.96.213.12" allowed="true" />
<add ipAddress="137.135.46.163" allowed="true" />
<add ipAddress="137.135.47.215" allowed="true" />
<add ipAddress="191.232.208.52" allowed="true" />
<add ipAddress="191.232.214.62" allowed="true" />
<add ipAddress="13.75.152.253" allowed="true" />
<add ipAddress="104.41.187.209" allowed="true" />
<add ipAddress="104.41.190.203" allowed="true" />
<add ipAddress="52.173.90.107" allowed="true" />
<add ipAddress="52.173.250.232" allowed="true" />
<add ipAddress="104.45.149.110" allowed="true" />
<add ipAddress="40.114.5.197" allowed="true" />
<add ipAddress="52.240.151.125" allowed="true" />
<add ipAddress="52.240.144.45" allowed="true" />
<add ipAddress="13.65.95.152" allowed="true" />
<add ipAddress="13.65.92.252" allowed="true" />
<add ipAddress="40.78.67.110" allowed="true" />
<add ipAddress="104.42.192.195" allowed="true" />
</ipSecurity>
</security>
</system.webServer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment