djsoulgroove
(usa Red Hat)
Enviado em 08/07/2010 - 12:56h
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
auth_param basic realm squid proxy-caching web server
auth_param basic casesensitive off
auth_param basic realm squid
visible_hostname servidor.rogerio
http_port 3128
acl all src 0.0.0.0/0.0.0.0
acl redeinterna src 192.168.80.0/24
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
#acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl ssfe_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
acl admin proxy_auth "/etc/squid/admin"
acl bloqueados url_regex -i "/etc/squid/bloqueados"
acl download urlpath_regex .pps$ .com$ .pif$ .bat$ .asfv1$ .wmv$ .mp3$ .avi$ .msi$ .asf$
acl extencoes url_regex -i .zip$ .torrent$ .rar$ .mp3$ .asf$ .asx$ .avi$ .au$ .mid .midi$ .asfv1$ .wav$
acl autenticados proxy_auth REQUIRED
http_access allow admin
http_access deny bloqueados
http_access deny download
http_access deny extencoes
http_access allow autenticados
http_access allow localhost
http_access deny all