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