Section 1.2.1, Configuring the Access Control Lists and Ports
Section 1.2.2, Configuring the Proxy Cache for ZENworks Content Caching
Section 1.2.3, Configuring the Proxy Cache to Deny Content Caching from the Same LAN
Section 1.2.4, Configuring the Maximum Proxy Cache Object Size
In the following example, managed devices are configured with IP addresses in the range 192.168.0.0 to 192.168.24, then the Access Control Lists (ACL) are as follows:
acl zenworks_ports port 80 acl zenworks_ports port 443 http_access deny !zenworks_ports
If the ZENworks Agent is configured with the HTTP port as 80 and the HTTPS port as 443, this directive allow requests to these ports.
In the following configuration, the proxy server caches the response of any request from the URL that contains the ZENworks content.
acl ZENCONTENT urlpath_regex zenworks-content/?
cache deny !ZENCONTENT
In the following configuration, responses for any requests to IP addresses in the range 192.168.1.0 to 192.168.24 are not cached. This configuration is used when caching is not required for content requests within the same local area network (LAN).
acl local_network dst 192.168.0.0/24
In this configuration, the maximum size of a single content file cached by Squid can be determined. The recommended value is typically the size of largest file a device would request through this proxy.
maximum_object_size 512000 MB
In this configuration, the minimum expiry time for content cached by Squid can be determined.
minimum_expiry_time 60000 seconds