Skip to content

Instantly share code, notes, and snippets.

@sei-vsarvepalli
Created October 16, 2022 18:58
Show Gist options
  • Save sei-vsarvepalli/ba79daeddc7f4a5e9af3d6e6967410eb to your computer and use it in GitHub Desktop.
Save sei-vsarvepalli/ba79daeddc7f4a5e9af3d6e6967410eb to your computer and use it in GitHub Desktop.
#### A whitelist to allow only specific domains access from
#### MS Exchange environment to prevent SSRF leaving server environment.
#### Squid whitelist restricted - then deny all ####
#acl whitelist dstdomain "/etc/squid/microsoft-update-whitelist.txt"
#http_access allow devicenet whitelist
#http_access allow localnet whitelist
#http_access allow localhost whitelist
#http_access allow localhost tolocal
#http_access deny all
.activedirectory.windowsazure.com
.adhybridhealth.azure.com
.ajax.aspnetcdn.com
.appex.bing.com
.appex-rf.msn.com
.appexsin.stb.s-msn.com
.assets-yammer.com
.auth.gfx.ms
.azurerms.com
.c.bing.com
.centraldesktop.com
.cl2.apple.com
.cloudapp.net
.cloudfront.net
.dc.services.visualstudio.com
.digitoolsolutions.com
.docs.live.net
.eis-inc.com
.entrust.net
.eus-www.sway-cdn.com
.eus-www.sway-extensions.com
.hybridconfiguration.azurewebsites.net
.images-amazon.com
.imeetcentral.com
.live.com
.liverdcxstorage.blob.core.windowsazure.com
.lync.com
.m.webtrends.com
.microsoft.com
.microsoftonline.com
.microsoftonlineimages.com
.microsoftonline-p.com
.microsoftonline-p.net
.ms.tific.com
.mscdirect.com
.msecnd.net
.msocdn.com
.office.com
.office.net
.office365.com
.omniroot.com
.onenote.com
.onmicrosoft.com
.outlook.com
.p100-sandbox.itunes.apple.com
.partnerservices.getmicrosoftkey.com
.paylocity.com
.phonefactor.net
.policykeyservice.dc.ad.msft.net
.public-trust.com
.remoteapp.windowsazure.com
.sharepoint.com
.sharepointonline.com
.spoprod-a.akamaihd.net
.sway.com
.symcb.com
.symcd.com
.teamviewer.com
.techni-tool.com
.testexchangeconnectivity.com
.windows.net
.windowsupdate.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment