WCCP Server Daemon Install
         
  About

Docs

Download

Bugs

Contact

    Although wccpd itself would be easy to port, the scripts that actually configure the Web traffic forwarding in the OS may not be. Thus, there's only support for Linux with IP Virtual Server, right now.

Linux Installation - Router

The easiest way to install wccpd is to use the RPM. The only thing you will have to configure is /etc/sysconfig/wccpd, and add some firewall rules:
  • Kernel 2.2:

    ipchains -A forward --protocol tcp --dport 80 --mark 0x80

  • Kernel 2.4:

    iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 0x80

  • You should also firewall UDP port 2048 (the WCCP port), to avoid unauthorized caches from joining and DoS attacks.

    Depending on your network topology, you may need to use -i or -s options to ipchains/iptables, to avoid marking the traffic from the WebCaches.

    There's a patch to change IPVS IPIP encapsuation to WCCP version 1 GRE encapsulation. For further information, read INSTALL.Linux.

    Linux Installation - Squid Cache

  • Kernel 2.2:

    ipchains -A input -p tcp --dport 80 -j REDIRECT 3128

  • Kernel 2.4:

    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3128

  •         SourceForge Logo NetLabs Logo