I'm configuring wccp and squid.

Here is wccp configuration or router:

ip wccp web-cache redirect-list wccp-access group-list wccp-server
interface FastEthernet1/0
 ip address
 ip wccp web-cache redirect in
 duplex auto
 speed auto
ip access-list standard wccp-server
ip access-list extended wccp-access
 deny   ip host any
 permit tcp host any eq www
 deny   ip any any

Here is squid configuration on ubuntu:

enter image description here

Also I set iptables configuration as below:

iptables -t nat -F PREROUTING
iptables -t nat -A PREROUTING -i wccp1 -p tcp --dport 80 -j DNAT --to-destination
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/wccp1/rp_filter

Also GRE setup is as following:

iptunnel add wccp1 mode gre remote local dev ens33
ifconfig wccp1 up
ifconfig wccp1

But I'm Getting "Service web-cache lost on WCCP clinet" error on router.

How can I solve the problem??

  • Your GRE tunnel seems to be setup to when it should be going to Did you mistype in this post or on your server?
    – Joel C
    Nov 10, 2021 at 3:42
  • Thanks for your comment. it's just a typo in this post.
    – Mehran
    Nov 10, 2021 at 6:52


You must log in to answer this question.

Browse other questions tagged .