1.2 Configuring the Proxy Parameters

1.2.1 Configuring the Access Control Lists and Ports

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 Adaptive Agent is configured with the HTTP port as 80 and the HTTPS port as 443, this directive allow requests to these ports.

1.2.2 Configuring the Proxy Cache for ZENworks Content Caching

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

1.2.3 Configuring the Proxy Cache to Deny Content Caching from the Same LAN

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

1.2.4 Configuring the Maximum Proxy Cache Object Size

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

1.2.5 Configuring the Proxy Cache Expiry

In this configuration, the minimum expiry time for content cached by Squid can be determined.

minimum_expiry_time 60000 seconds