[squid-users] Squid 2.7: Request from LAN UNABLE to FORWARD or CONNECTION REFUSED or ACCESS DENIED

From: RicardoCh <racham_at_hotmail.com>
Date: Wed, 2 Sep 2009 14:02:13 -0300

When I try, from the internal LAN, to load any page of my website running on
server (Debian Lenny iptables-apache2-Squid2.7-samba3, ALL ON SAME SERVER),
the Squid launches some of this 3 pages error warn:

1) Unable to forward this request at this time
2) (111) Conection refused
3) Access denied

In Squid.conf I have these lines:

http_port 192.168.000.1:3128 transparent
http_port 127.0.0.1:80 accel defaultsite=mysite.com vhost
cache_peer 127.0.0.1 parent 80 0 no-query originserver name=Ricardo

cache_peer_access mysite.com allow MyWeb
cache_peer_access mysite.com deny all

Where the acl "MyWeb" is:
acl myweb dstdomain mysite.com mysite1.com mysite2.com.ar
(The sites are all on the same Apache, Virtual directory)

In iptables I have only these lines to the webserver:

# WWW
$IPTABLES -A tcp_packets -p TCP -s 0/0 -dport 80 -j allowed

$IPTABLES-t nat-A PREROUTING -s $LAN_IP_RANGE -p tcp -dport 80 -j REDIRECT
-to-ports 3128

Any idea?
Thanks in advance
Received on Wed Sep 02 2009 - 17:02:22 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 03 2009 - 12:00:02 MDT