Friday, April 30, 2010

How to setup Windows Update through Squid

Create below access list in /etc/squid/squid.conf 

# Microsoft Windows Update
acl WindowsUpdate dstdomain -i "/etc/squid/windowsupdate.txt"
no_cache deny WindowsUpdate


Next step is create file /etc/squid/windowsupdate.txt  and add below records

.microsoft.com
.windowsupdate.com
runonce.msn.com


Before line "http_access deny all" in squid.conf add below records

http_access allow WindowsUpdate

If you have complete all previews steps now reload or restart squid service.

1 comments:

  1. Great trick,thank you,this has worked for me;

    ReplyDelete