Thiaguinho03
(usa Ubuntu)
Enviado em 05/12/2013 - 15:11h
Sorry, não tinha entendido.
http_port 3128 transparent
visible_hostname POSITIVO
cache_mem 500 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 512 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/cache/squid 3000 16 256
cache_dir ufs /var/cache/squid1 3000 16 256
cache_dir ufs /var/cache/squid2 3000 16 256
cache_dir ufs /var/cache/squid3 3000 16 256
cache_dir ufs /var/cache/squid4 3000 16 256
cache_dir ufs /var/cache/squid5 3000 16 256
cache_dir ufs /var/cache/squid6 3000 16 256
cache_dir ufs /var/cache/squid7 3000 16 256
error_directory /usr/share/squid/errors/pt-br
access_log /var/log/squid/access.log squid
icp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
hosts_file /etc/hosts
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
#LIBERA APRIMORA SOMENTE PCS DA LOUSA
acl aprimora url_regex -i
http://aprimora.educacional.com.br/
acl aprimora url_regex -i
http://www.gmail.com
acl all src 0.0.0.0/0.0.0.0
acl todos src 0.0.0.0/0.0.0.0
acl fecha1 time MTWHFA 22:00-23:59
acl fecha2 time MTWHFA 00:00-06:59
acl fecha3 time S 00:00-23:59
acl blockedsites url_regex -i "/etc/squid/sites-bloq.txt"
#acl ip_negado src "/etc/squid/block/ip_negado.txt"
acl domingo time 18:00-19:00
acl dias time SS 00:00-23:59
acl manager proto cache_object
acl rede src 10.1.0.0/24
acl rede2 src 10.1.2.0/24
acl rede3 src 10.1.3.0/24
acl rede4 src 10.1.4.0/24
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
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 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 CONNECT method CONNECT
http_access allow aprimora
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny blockedsites
#http_access deny ip_negado
#http_access deny domingo
#http_access deny dias
http_access deny todos fecha1 fecha2 fecha3
http_access deny !rede !rede2 !rede3 !rede4
http_access allow all
#icp__access allow all
#visible_hostname positivo
#httpd_accel_host virtual
#httpd_accel_port 80
#httpd_accel_with_proxy on
#httpd_accel_uses_host_header on
Esse é o squid.conf