afdominguez
(usa Ubuntu)
Enviado em 22/01/2009 - 08:59h
http_port 3128
cache_dir diskd /var/spool/squid 2000 128 512
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_access_log /var/log/squid/access.log
pid_filename /var/run/squid.pid
# Autenticaç:
auth_param basic program /usr/lib/squid/msnt_auth
auth_param basic children 5
auth_param basic realm ..:: Tentacle ::.. Servidor de Internet - HRColider
auth_param basic credentialsttl 2 minutes
# ACL's
#montado as ACL
acl ip_livre arp "/etc/squid/acl/ip_livre"
acl palavra_bloqueada url_regex -i "/etc/squid/acl/palavra_bloqueada"
acl palavra_liberada url_regex -i "/etc/squid/acl/palavra_liberada"
#acl download url_regex -i "/etc/squid/download_bloqueado"
acl all src 10.15.84.0/255.255.255.0
acl autentica proxy_auth REQUIRED
http_access allow palavra_liberada
http_access deny palavra_bloqueada
http_access allow autentica
# Nome do servidor proxy
visible_hostname srvubuntu
# Mostrar erros no idioma Portuguê
error_directory /usr/share/squid/errors/Portuguese