Re: [squid-users] squid and wccp

From: Wennie V. Lagmay <wlagmay@dont-contact.us>
Date: Tue, 29 Apr 2008 10:17:21 +0300 (AST)

Still with no luck, I would I know if my router IOS is working properly with wccp2 (C7200-IS-M), Version 12.2(31), RELEASE SOFTWARE (fc2), also how would I know it my gre and wccp is working properly with my linux and it is not broken (Fedora Core 8 64 bit with kernel 2.6.24-64.fc8)

----- Original Message -----
From: "Henrik Nordstrom" <henrik@henriknordstrom.net>
To: "Wennie V. Lagmay" <wlagmay@yanbulink.net>
Cc: "Adrian Chadd" <adrian@creative.net.au>, "squid-users" <squid-users@squid-cache.org>
Sent: Monday, April 28, 2008 9:13:51 PM (GMT+0300) Asia/Kuwait
Subject: Re: [squid-users] squid and wccp

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 Tue Apr 29 2008 - 07:07:30 MDT

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