Configuring the Squid service

To configure the Squid service:

  1. Add the following strings to the beginning of the /etc/squid/squid.conf file:

    auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp --domain=DOMAIN

    auth_param ntlm children 10

    auth_param ntlm keep_alive off

    icap_send_client_username on

    acl lan proxy_auth REQUIRED

    http_access allow lan

  2. To enable event logging in debug mode, in the /etc/squid/squid.conf file, add the --diagnostics parameter to the following string:

    auth_param ntlm program /usr/bin/ntlm_auth --diagnostics --helper-protocol=squid-2.5-ntlmssp --domain=DOMAIN

    Debug events will be written to the file /var/log/squid/cache.log.

  3. Restart the Squid service. To do so, execute the command:

    service squid restart

Configuration of the Squid service will be complete.

Page top