Thursday, January 13, 2011

squid3 with wccp redirection

to redirect http and https from a cisco router (not switch !)

in squid.conf do this
wccp2_router router1.ip.addr
wccp2_router router2.ip.addr
wccp_version 2
wccp2_forwarding_method 1
wccp2_return_method 1
wccp2_service standard 0
wccp2_service dynamic 70
wccp2_assignment_method mask
wccp2_service_info 70 protocol=tcp flags=dst_ip_hash priority=241 ports=443

the last 2 lines are important or the cisco router won't see the squid server as a viable cache for ssl.