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
