Filippo Zanardo's Blog

to blog or not to blog

Posts Tagged ‘windows update

Squid Windows Update

leave a comment »


Usually windows update didn’t work in squid here’s a way that works for me.

Create a text file named windowsupdate.txt in your squid configuration directory.
Place these entries in it:

windowsupdate.microsoft.com
update.microsoft.com
activex.microsoft.com
download.windowsupdate.com
http://www.download.windowsupdate.com
codecs.microsoft.com
stats.updates.microsoft.com
c.microsoft.com

Then edit your squid.conf file. Create a new acl:

acl WindowsUpdate dstdomain -i “/usr/local/etc/squid/windowsupdate.txt”

Disable the cache for this site:

no_cache deny WindowsUpdate

Allow everyone to these sites with this line:

http_access allow WindowsUpdate

After doing these things do a “squid -k reconfigure” to recreate the cache.

Windows Update and Microsoft Update should be working just fine now through your cache, keeping your Windows boxes up to date.

Written by pipposan

October 27, 2009 at 11:48

Posted in Squid

Tagged with ,