[squid-users] Transparent Cache

From: Alejandro Barcena <[email protected]>
Date: Tue, 12 Oct 2004 14:58:36 -0500

I want to setup a transparent cache. But I can't find where does it
break. I'm sending the www trafic to squid with a cisco css 11000
series. I'm using RedHat Linux 9 with kernel 2.4.20-8smp and iptables.

I have done:

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

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128

Here is my squid.conf:

http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cache_dir diskd /var/spool/squid 65000 16 256
diskd_program /usr/lib/squid/diskd
unlinkd_program /usr/lib/squid/unlinkd
cache_mem 64 MB
maximum_object_size 4096 KB
maximum_object_size_in_memory 128 KB
wccp_router 10.68.8.100
wccp_version 2
max_open_disk_fds 1024
ipcache_size 1024
ipcache_low 90
ipcache_high 95
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl allowed_hosts src 10.0.0.0/255.0.0.0
http_access deny manager all
http_access allow localhost
http_access allow allowed_hosts
http_access deny all
icp_access allow allowed_hosts
icp_access allow allowed_hosts
icp_access deny all
miss_access allow allowed_hosts
miss_access allow localhost
miss_access deny all

I hope someone could help me with this, thanks in advice.

Alejandro Barcena
Received on Tue Oct 12 2004 - 13:59:03 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST