Search squid archive

Squid + WCCP + ip_gre + ip_wccp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux