[squid-users] problem with WCCP

From: Nebi Gurbanov <nebi@dont-contact.us>
Date: Fri, 16 Mar 2001 14:23:37 +0200 (EET)

Hi!
I have a problem with WCCP configuration.
Our router is IOS 12.x and we have squid-2.3 STABLE 4 on RedHat 6.2
Below are the configurations that I have made on our proxy machine.

echo 1 > /proc/sys/net/ipv4/ip_forward

modprobe ip_gre
ifconfig gre0 up

/sbin/ipchains -A input -j ACCEPT -i lo
/sbin/ipchains -A input -j ACCEPT -p tcp -d (ip address of proxy machine) 80
/sbin/ipchains -A input -j REDIRECT 80 -p tcp -s 0.0.0.0/0 -d 0.0.0.0./0 80

http_port 80
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
wcc_router (ip address of our router)

I think there is a communication between the router and proxy machine
Because when I run tcpdump on our proxy machine , output is like that:

04:16:19.134576 eth0 < gre-proto-0x883E (gre encap)
04:16:19.134576 gre0 < 0:0:0:0:0:0 0:0:0:0:0:1 883e 74:
04:16:19.178653 eth0 < gre-proto-0x883E (gre encap)
04:16:19.178653 gre0 < 0:0:0:0:0:0 0:0:0:0:0:1 883e 62:

Which means (I think) proxy machine have accepted gre encapsulated
packets. There problem is that (again I think) I can forward the gre
encapsulated packets to squid?
I also have executed the iptunnel command below:

iptunnel add gre0 mode gre remote (router-ip) local (proxy-ip) dev eth0

Does anyone know what I have to do?

Thanks a lot!
Received on Fri Mar 16 2001 - 07:39:05 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:40 MST