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.

2 comments :

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

    ReplyDelete
  2. Your style is so unique compared to other folks I've read stuff from. I appreciate you for posting when you've got the opportunity, Guess I'll just bookmark this blog. Here are the findings: How To Lock Files The Marine Way

    ReplyDelete