phrich
(usa Slackware)
Enviado em 11/03/2012 - 14:26h
Lembrando que a acl "acl all src 0.0.0.0/0.0.0.0" no squid 3 é "acl all src" sem a necessidade de completar com os zeros, portanto no seu squid.conf está correta esta acl.
Vamos analisar seu squid.conf, leia os comentários que realizei e altere ai no seu squid.conf ok?
http_port 3128
visible_hostname servidor
acl all src
acl manager proto cache_object
# ACL CORRIGIDA, A MÁSCARA É /32
acl localhost src 127.0.0.1/32
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # swat
acl Safe_ports port 1025-65535 # portas altas
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl redelocal src 192.168.0.0/24
http_access allow localhost
http_access allow redelocal
http_access deny all
Agora basta mandar o squid reler as regras:
Se o squid estiver rodando:
# squid3 -k reconfigure
Ou
Se o squid estiver parado:
# /etc/init.d/squid3 restart