guilhermealano
(usa CentOS)
Enviado em 31/01/2013 - 23:27h
hierarchy_stoplist cgi-bin ?
cache_mem 128 MB
maximum_object_size 128 MB
minimum_object_size 0 MB
cache_dir ufs /usr/local/squid/var/cache 10000 16 256
cache_access_log /usr/local/squid/var/logs/access.log
cache_log /usr/local/squid/var/logs/cache.log
cache_store_log /usr/local/squid/var/logs/store.log
ftp_user Squid@
error_directory /usr/local/squid/share/errors/Portuguese
visible_hostname goesnicoladelli.com.br
http_port 127.0.0.1:3128 transparent
dns_nameservers 192.168.1.1
#auth_param basic program /usr/local/squid/libexec/ncsa_auth /usr/local/squid/etc/passwd
#auth_param basic children 10
#auth_param basic realm Art Stylo
#auth_param basic credentialsttl 2 hours
#auth_param basic casesensitive off
#acl wpad src 172.16.5.1
#http_access allow wpad
#refresh_pattern ^ftp: 1440 20% 10080
#refresh_pattern ^gopher: 1440 0% 1440
#refresh_pattern . 0 20% 4320
acl manager proto cache_object
acl localhost src 172.16.0.0/12
acl all src 172.16.0.0/12
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 2121 # 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 1025-65535 # unregistered ports
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 CONNECT method CONNECT
#Liberar sites
acl sites_liberados dstdomain "/usr/local/squid/etc/liberados"
http_access allow sites_liberados
#Bloquear todos sites estranhos
acl bloquearsites url_regex -i "/usr/local/squid/etc/bloqueados"
http_access deny bloquearsites
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
http_reply_access allow all