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.

Comments

Popular posts from this blog

Baileys liquor Chocolate Chip and Cream desert

nginx decode base64 url for use with imgproxy

using t1n1wall, opnsense or pfsense on Google Compute Engine GCE