[squid-users] squid whitelist office365 and gmail emails
robert k Wild
robertkwild at gmail.com
Wed Dec 4 11:10:32 UTC 2019
finally solved it and its working really nicely
what i did was to monitor the "access.log" using the watch and tail command
to see what websites it was actually going to
#Block MIME types
acl mimetype urlpath_regex -i \.exe$ \.msi$
http_access deny mimetype
#HTTPS whitelist websites
acl whitelist ssl::server_name "/etc/squid/whitelist.txt"
http_access allow whitelist
http_access deny all
cat /etc/squid/whitelist.txt
.bing.com
.msedge.net
.msftauth.net
.msauth.net
.msocdn.com
.office.com
.office365.com
.microsoft.com
.outlook.com
.live.com
.microsoftonline.com
.akamaized.net
.c.s-microsoft.com
.gfx.ms
.google.com
.google.co.uk
.googleusercontent.com
.googleapis.com
.withgoogle.com
.gstatic.com
--
Regards,
Robert K Wild.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20191204/72c83b81/attachment.html>
More information about the squid-users
mailing list