otoni.sm
(usa Ubuntu)
Enviado em 11/05/2012 - 22:28h
Boa noite aos senhores! segue abaixo meu arquivo de configuração do squid:
http_port 3128
visible_hostname srv-centos
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 280 488 591 777 901 1025-65535
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
access_log /var/log/squid/access.log squid
acl redelocal src 192.168.99.0/24
http_access allow localhost
http_access allow redelocal
http_access allow all