
pablokapp
(usa Debian)
Enviado em 28/08/2012 - 10:26h
Configurei o squid ele inicia sem apresentar qualquer erro mais quando configuro nos clientes eles não acessão nenhuma página da internet.
http_port 3128
visible_hostname LINUXTOP
error_directory /top/
cache_mem 128 MB
maximum_object_size_in_memory 128 KB
maximum_object_size 1024 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /top/squid 8192 16 256
cache_access_log /top/squid/acess.log
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
acl all src all
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl manager proto cache_object
acl SSL_ports port 443 563
acl safe_ports port 3128 # rede
acl safe_ports port 80 # http
acl safe_ports port 21 # ftp
acl safe_ports port 443 563 #http 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 3389 # area de trabalho win
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
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
acl bloqueados url_regex -i "/top/squid/bloqueados"
http_access deny bloqueados
acl redelocal src 192.168.75.0/24
http_access allow localhost
http_access allow redelocal
http_access allow all
http_reply_access allow all