[squid-users] Squid + WCCP + ip_gre + ip_wccp

From: Senthil Murugan <[email protected]>
Date: Fri, 21 Oct 2005 20:33:33 +0530

Hi,

I have a question on configuring squid with wccp. I have a setup with
squid-2.5s10 on linux 2.4.20. I have ip_gre and ip_wccp kernel modules
installed.

I followed the setup from squid archives. The steps are,

1. installing kernel module ip_wccp
2. installing kenel module ip_gre
3. bringing up gre interface.
    Ex: ifconfig gre1 127.0.0.2 up
4. creating a gre tunnel between the router and squid box.
    Ex: /sbin/iptunnel add gre1 mode gre remote <router-ip> local
<squid-box-ip> dev eth0
5. Redirecting packets coming for port 80 on eth0 to 3128
    Ex: iptables -t nat -I PREROUTING -i eth0 -p tcp -d
<squid-box-ip> --dport 80 -j REDIRECT --to-port 3128
6. Enabling WCCP in the router

This setup works.

However, it also works without the steps 2 ,3 and 4 (i.e., disabling ip_gre
and its tunnel). But in most of the documents i saw those steps.
Is there different types ip_wccp modules and some of which takes care of
tunneling by itself? or is there different approaches to make squid to work
with WCCP?

Also in some cases i have seen the use of ipip tunnel. In what situation
this is used?

Thanks,
Senthil Murugan
Received on Fri Oct 21 2005 - 09:03:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:05 MST