vitorsantana
(usa Ubuntu)
Enviado em 04/05/2011 - 14:21h
http_port 2709 transparent
visible_hostname srv-firewall-01
cache_mem 64 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 512 MB
minimum_object_size 0 KB
cache_swap_low 60
cache_swap_high 95
cache_dir ufs /var/spool/squid 1024 16 256
cache_access_log /var/log/squid/access.log
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 3389 # TS
acl Safe_ports port 1194 # VPN
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # 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 1025-65535 # portas altas
acl purge method PURGE
acl CONNECT method CONNECT
#ACL CBS
acl mac_residencia arp "/etc/squid/mac_residencia"
acl macfull arp "/etc/squid/macfull"
acl dropall src "/etc/squid/dropall"
acl msn url_regex -i "/etc/squid/msn"
acl sitesbanidos url_regex -i "/etc/squid/sitesbanidos"
acl LoginMSN dst login.live.com by4.omega.contacts.msn.com nexus.passport.com loginnet.passport.com
acl GatewayMSN url_regex http.messenger.*.com messenger gateway.dll
acl NOCACHE urlpath_regex src "/etc/squid/nocache"
#acl sitesliberados url_regex -i "/etc/squid/sitesliberados"
acl palavras url_regex -i "/etc/squid/palavras"
acl redelocal src 192.168.222.0/24
acl ipfull src "/etc/squid/ipfull"
#PERMISSÃO DE ACESSO
http_access allow mac_residencia
http_access allow macfull
http_access deny dropall
http_access allow ipfull
http_access allow msn
http_access deny sitesbanidos
no_cache allow NOCACHE
http_access allow CONNECT LoginMSN
http_access deny GatewayMSN
#http_access allow sitesliberados
http_access deny palavras
#http_access allow ipfull
http_access allow redelocal
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
http_access allow localhost
http_access deny all