cgsuporte
(usa Ubuntu)
Enviado em 09/08/2013 - 16:01h
#proxy transparente
http_port 3128 transparent
visible_hostname cmvaserver
cache_mgr webmaster@localhost
#error_directory /var/share/squid3/errors/Portuquese
cache_mem 64 MB
maximum_object_size_in_memory 128 KB
maximum_object_size 512 MB
cache_dir ufs /var/spool/squid3 2048 16 256
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
acl all src
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl SSL_ports port 443 563 8080
acl Safe_ports port 21 # ftp
acl Safe_ports port 70 # gopher
acl Safe_ports port 80 # http
acl Safe_ports port 210 # wais
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 443 # https
acl Safe_ports port 488 # gss-http
acl Safe_ports port 563 # hntps
acl Safe_ports port 591 # filemaker
acl Safe_ports port 631 # cups
acl Safe_ports port 777 # multiling http
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # swat
acl Safe_ports port 8080 # sapl
acl Safe_ports port 1025-65535 # unregistred ports
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
#Dominios
#acl bloqueados dstdomain abril.com.br/gatas-playboy/
#http_access deny bloqueados
acl localnet src 192.168.1.0/24
http_access allow localhost
http_access allow localnet
http_access deny all