Search squid archive

Squid 2.7: Request from LAN UNABLE to FORWARD or CONNECTION REFUSED or ACCESS DENIED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux