blackzig
(usa openSUSE)
Enviado em 16/10/2012 - 09:10h
Está aí a parte que importa
external_acl_type aut %SRC /etc/squid/aut
# [ Autenticação de Usuários ]
auth_param basic program /etc/squid/aut
auth_param basic children 5
auth_param basic realm Web-Proxy
auth_param basic credentialsttl 4 hours
auth_param basic casesensitive off
#external_acl_type aut %SRC /etc/squid/aut
acl usuarios proxy_auth REQUIRED
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
#
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/24 # RFC1918 possible internal network
#
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 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
http_access allow usuarios