Configuring the Squid service

To configure the Squid service:

  1. Change the settings of the Squid service. To do so, execute the commands:

    echo "icap_enable on" >> /etc/squid/squid.conf

    echo "icap_send_client_ip on" >> /etc/squid/squid.conf

    echo "icap_service is_kav_req reqmod_precache 0 icap://127.0.0.1:1344/av/reqmod" >> /etc/squid/squid.conf

    echo "icap_service is_kav_resp respmod_precache 0 icap://127.0.0.1:1344/av/respmod" >> /etc/squid/squid.conf

    echo "adaptation_access is_kav_req allow all" >> /etc/squid/squid.conf

    echo "adaptation_access is_kav_resp allow all" >> /etc/squid/squid.conf

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

    service squid restart

Configuration of the Squid service will be complete.

Page top