Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http_port 3128
- # Nome do servidor
- visible_hostname Squid
- # Cache
- cache_mem 700 MB
- maximum_object_size_in_memory 32 KB
- maximum_object_size 1024 MB
- minimum_object_size 0 KB
- cache_swap_low 90
- cache_swap_high 95
- cache_dir ufs /etc/squid3/cache 30000 16 256
- cache_log /etc/squid3/cache.log
- # Logs de acesso
- access_log /etc/squid3/access.log squid
- # Regras acl padrão
- #acl all src 0.0.0.0/all
- acl manager1 proto cache_object
- #acl localhost src 127.0.0.1/32
- acl SSL_ports port 443 563 873
- acl Safe_ports port 80 # http
- acl Safe_ports port 21 # ftp
- acl Safe_ports port 443 563 873 # https, 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 10000 # webmin
- acl Safe_ports port 1025-65535 # portas altas
- acl purge method PURGE
- acl CONNECT method CONNECT
- auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
- auth_param ntlm children 30
- auth_param ntlm keep_alive on
- #auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
- #auth_param basic children 5
- #auth_param basic realm Squid proxy-caching web server
- #auth_param basic credentialsttl 2 hours
- acl AuthorizedUsers proxy_auth REQUIRED
- http_access allow all AuthorizedUsers
- #acl liberados url_regex -i "/etc/squid3/acl/liberados"
- #http_access allow liberados
- # Permissões e bloqueios padrão
- http_access allow manager1
- #localhost
- http_access deny manager1
- http_access allow purge
- http_access deny purge
- http_access deny !Safe_ports
- http_access deny CONNECT !SSL_ports
- cache_effective_user proxy
- cache_effective_group proxy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement