Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Arquivo de Configuração do SQUID
- #Powered By Manu
- # 10/02/2010 V 1.0
- #Tecnologia & cia LTDA
- http_port 3128 transparent
- visible_hostname proxy.lnxserver.local
- cache_mem 400 MB
- maximum_object_size_in_memory 128 KB
- maximum_object_size 512 MB
- minimum_object_size 0 KB
- cache_swap_low 90
- cache_swap_high 95
- cache_dir ufs /var/spool/squid3 4096 32 512
- cache_access_log /var/log/squid3/access.log
- refresh_pattern ^ftp: 15 20% 2280
- refresh_pattern ^gopher: 15 0% 2280
- refresh_pattern . 15 20% 2280
- #dns_nameservers 201.76.128.133
- #dns_nameservers 201.76.128.132
- error_directory /usr/share/squid3/errors/Portuguese/
- #acl all src all
- acl manager proto cache_object
- acl localhost src 127.0.0.1
- acl to_localhost dst 127.0.0.0
- acl SSL_ports port 443 563 3456
- acl Safe_ports port 22 21 80 3456 443 563 70 210 280 488 59 777 901 1025-65535
- acl purge method PURGE
- acl CONNECT method CONNECT
- http_access allow manager localhost
- http_access deny manager
- http_access allow purge localhost
- http_access deny purge
- http_access deny !Safe_ports
- http_access deny CONNECT !SSL_ports
- #acl ip_chefe src "/etc/squid3/ip_chefe"
- #acl ip_block src "/etc/squid3/ip_block"
- #acl bloqueados url_regex -i "/etc/squid3/urlblock"
- #http_access deny bloqueados ip_block
- #acl palavrasproibidas dstdom_regex "/etc/squid3/blacklist"
- #http_access deny palavrasproibidas ip_block
- acl redelocal src 10.0.0.0
- http_access allow localhost
- http_access allow redelocal
- http_access deny all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement