Filippo Zanardo's Blog

to blog or not to blog

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.

Advertisements

Written by pipposan

October 27, 2009 at 11:48

Posted in Squid

Tagged with ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: