Re: [squid-users] squid and wccp

From: Henrik Nordstrom <[email protected]>
Date: Mon, 28 Apr 2008 20:13:51 +0200

On mån, 2008-04-28 at 12:03 +0300, Wennie V. Lagmay wrote:

> for squid version 2.6Stable19 running on Fedora Core 8 64 bit with ip address xx.xx.184.178
> 1. I configure squid with options enable-linux-netfilter
>
Ok

> 2. in squid.conf
> http_port 8080 transparent
> wccp2_router xx.xx.184.177

[...]

> 3. modprobe ip_gre
> ip tunnel add wccp0 mode gre remote xx.xx.184.177 local xx.xx.184.178 dev eth1
> ip addr add xx.xx.184.178/32 dev wccp0
> ip link set wccp0 up

[...]

> 4.echo 0 >/proc/sys/net/ipv4/conf/wccp0/rp_filter

Ok.

> 5.iptables -t nat -A PREROUTING -p tcp -i wccp0 -j REDIRECT --to-ports 8080

Ok.

> 6. iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 8080

Why?

> Global WCCP information:
> Router information:
> Router Identifier: 192.168.255.6

Hmm.. This does not match your configuration above.

The Cisco router identifier is important for WCCP operation. This is the
address the Cisco uses for GRE.

Regards
Henrik
Received on Mon Apr 28 2008 - 18:14:02 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT