This tutorial will show you how to transparently filter HTTP and HTTPS traffic using Cisco ASA firewall, Squid proxy and Web Safety ICAP web filter with the help of WCCP traffic redirection.

This tutorial assumes the following network deployment scheme.

  1. Cisco ASA firewall (version 5505) is deployed as network gateway. Its internal address is, netmask External address is configured by DHCP or statically by the ISP.

  2. Cisco ASA firewall acts as DHCP server for the internal network assigning dynamic addresses from subnet with network mask set to All computers in internal network have set as default gateway.

  3. There is a Squid proxy integrated with Web Safety ICAP web filter running within virtual appliance downloaded from deployed in VMware vSphere/ESXi. IP address of proxy is set statically to

  4. We strive to transparently redirect, decrypt and filter both HTTP and HTTPS traffic from our network without the need to configure anything on internal computers. Redirection will be done using WCCPv2 protocol.

The following diagram illustrates our network.



Please note our network design assumes that Squid proxy is located in the same subnet as the client workstations. This is not always optimal but unfortunately Cisco ASA supports only this kind of deployments. For more complex network designs please see Squid Wiki at