#incio
http_port 3129 transparent
visible_hostname localhost
#caso exista o apache evitar conflitos
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
#logs do squid
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
#verifica o host da maquina
hosts_file /etc/hosts
#tamanho maximo de arquivos na memoria
maximum_object_size_in_memory 128 KB
#Acl que consulta o arquivo
acl ip_liberado src "/etc/squid/ip_liberado"
acl palavra dstdom_regex "/etc/squid/palavras_negadas"
acl site url_regex -i "/etc/squid/sites_negados"
#acl normaisl
acl localhost src 127.0.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
#Portas SSL
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
#portas liberadas
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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl Safe_ports port 3389 # Terminal Server
acl purge method PURGE
acl CONNECT method CONNECT
#http_port
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 + port
acl redelocal src 192.168.254.0/255.255.255.0
http_access allow localhost
http_access allow redelocal
http_access deny all
#Add by original version
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache_replacement_policy lru
dns_nameservers 200.165.132.147 200.165.132.155
icon_directory /usr/share/squid/icons
error_directory /usr/share/squid/errors/Portuguese
#opcoes de cache
cache_mem 128 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 1 GB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB
cache_dir ufs /var/spool/squid 4096 16 256
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
#IP's da rede local liberado tudo
http_access allow ip_liberado
# Regras de bloqueio de site ***por palavras
http_access deny palavra
# Regras de bloqueio de site ***por url
http_access deny site
to usando o squid assim pessoa tem mais alguma coisa que posao me orientar