deusvan
(usa Ubuntu)
Enviado em 11/09/2008 - 19:48h
http_port 3128 transparent
visible_hostname fwpalmas
cache_mem 100 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 256 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir diskd /var/spool/squid 6144 16 252
cache_access_log /var/log/squid/access.log
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 20 2280
refresh_pattern . 15 20% 2280
acl FULL time 00:00-23:59
acl unblockedsites url_regex -i "/etc/squid/unblock.txt"
acl msn url_regex -i "/etc/squid/msn.txt"
acl all src 130.0.0.0/24
acl diretoria src 130.0.0.183 130.0.0.2 130.0.0.92 130.0.0.100 130.0.0.77 130.0.0.12 130.0.0.6 130.0.0.5 130.0.0.18 130.0.0.36 130.0.0.47 130.0.0.190 130.0.0.10 130.0.0.8 130.0.0.15 130.0.0.55 130.0.0.19 130.0.0.7 130.0.0.14 130.0.0.21 130.0.0.46 130.0.0.23 130.0.0.41
acl palmasmsn src 130.0.0.60 130.0.0.51 130.0.0.35 130.0.0.34 130.0.0.43 130.0.0.41
#Recommended minimum configuration:
#cl 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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
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 20000-20019 # ANS
acl safe_ports port 1550 # SKYPE
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow unblockedsites
http_access allow palmasmsn FULL msn
http_access deny all !diretoria
http_reply_access allow all
icp_access allow all
OBS: ele nao estar funcionando direito ele nao restart e nem reconfigura.....