[squid-users] WCCP Setup

From: Sturgis, Grant <Grant.Sturgis@dont-contact.us>
Date: Fri, 17 Jun 2005 10:32:26 -0600

Greetings List,

I am attempting to set up WCCP with a Cisco Cat 6506 and Squid.

squid-2.5.STABLE9-1.FC3.6
Fedora Core release 3 (Heidelberg)
2.6.11-1.27_FC3

I have followed the instructions from this article:

http://www.linux-mag.com/content/view/1957/2303/

Which basically boils down to:

echo 1 > /proc/sys/net/ipv4/ip_forward (and add to sysctl.conf)

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

in squid.conf

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128

iptunnel add gre1 mode gre remote \
        ip-address-of-router local ip-address-of-squid-cache \
        dev eth0
ifconfig gre1 127.0.0.2 up

Cisco> enable
Cisco# config t
Cisco(config)# ip wccp version 1
Cisco(config)# ip wccp web-cache
Cisco(config)# int your-outgoing-interface
Cisco(config-if)# ip wccp web-cache redirect out
Cisco(config-if)# end
Cisco# write mem

But the switch still doesn't see the cache (as shown by sh ip wccp).

One question that I have:

I didn't recompile squid from source, but simply used the FC3 RPM. Does
anyone know if that package is compiled with the
--enable-linux-netfilter and --enable-wccp options? Can you tell how to
check?

Any other comments or suggestions are most welcome.

Thanks!

Grant
-----------

Pardon this rubbish:

This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is intended
to be for the use of the individual or entity named above. If you are not the
intended recipient, please be aware that any disclosure, copying, distribution
or use of the contents of this information is prohibited. Please notify the
sender of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.
Received on Fri Jun 17 2005 - 10:33:15 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT