johnnyb
(usa Fedora)
Enviado em 27/08/2012 - 13:49h
Amigo tente esse e veja se da certo caso nao de poste o erro blz
http_port 3128
visible_hostname LINUXTOP
error_directory /usr/share/squid/errors/Portugese/
# *** Configuração do cache
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
# *** Configuração do range da rede
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl redelocal src 192.168.75.250/24
acl manager proto cache_object
# *** Configuração das portas
acl all src all
acl SSL_ports port 443 563
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
# *** Configuração dos Bloqueios
acl bloqueados url_regex -i "/top/squid/bloqueados"
# *** Liberação de acesso sempre bloquei primeiro para depois liberar
http_access deny bloqueados
http_access allow localhost
http_access allow redelocal
http_access deny all