Configuring the Squid service

These instructions are applicable if Kaspersky Web Traffic Security was installed from an RPM or DEB package to an existing operating system. If Kaspersky Web Traffic Security was deployed from an ISO file, you cannot edit the configuration files of the built-in proxy server.

To configure the Squid service:

  1. Change the settings of the Squid service. To do so, add the following strings to the end of the configuration file /etc/squid/squid.conf:

    icap_enable on

    adaptation_send_username on

    adaptation_send_client_ip on

    icap_service kwts_req reqmod_precache icap://127.0.0.1:1344/av/reqmod

    icap_service kwts_res respmod_precache icap://127.0.0.1:1344/av/respmod

    icap_service_failure_limit -1

    adaptation_access kwts_req allow all

    adaptation_access kwts_res allow all

  2. In this same configuration file, add the tcpkeepalive option to the http_port directive:

    http_port 3128 tcpkeepalive=60,30,3

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

    service squid restart

Configuration of the Squid service is now finished.

Page top