Search squid archive

Re: squid and wccp

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

 



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


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

  Powered by Linux