Changes

From SME Server
Jump to navigationJump to search
927 bytes added ,  14:49, 2 April 2008
Add instructions howto cache windowsupdate downloads
Line 32: Line 32:  
====Bypass the Proxy Server Without Disabling Your Transparent Proxy====
 
====Bypass the Proxy Server Without Disabling Your Transparent Proxy====
 
[[:Firewall#Bypass_Proxy]]
 
[[:Firewall#Bypass_Proxy]]
 +
 +
====Caching WindowsUpdate download (and others too)====
 +
 +
Add this on file /etc/squid/squid.conf '''( This must be done thru templates! remember to put instructions here )'''
 +
 +
******************************************************
 +
hierarchy_stoplist cgi-bin ?
 +
acl QUERY urlpath_regex cgi-bin \?
 +
no_cache deny QUERY
 +
cache_mem 16 MB
 +
maximum_object_size 1280096 KB
 +
cache_dir ufs /var/spool/squid 3000 16 256
 +
 +
# various windows versions
 +
refresh_pattern http://.*\.windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
 +
refresh_pattern http://.*\.update\.microsoft\.com/ 0 80% 20160 reload-into-ims
 +
refresh_pattern http://download\.microsoft\.com/ 0 80% 20160 reload-into-ims
 +
refresh_pattern http://windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
 +
refresh_pattern http://office\.microsoft\.com/ 0 80% 20160 reload-into-ims
 +
**************************************************************
 +
 +
Execute:
 +
squid -k reconfigure
    
----
 
----
 
[[Category:Howto]]
 
[[Category:Howto]]
147

edits

Navigation menu