rfsoares20
(usa CentOS)
Enviado em 07/10/2011 - 11:31h
Estou com minha internet muito lenta, inclusive aumentamos o link de 2 megas para 15 megas. Gostaria de saber se podem me ajudar na melhor configuração do squid para internet, ja não sei mais o que fazer, tenho q reiniciar o servico 5 vezes por dia. Segue minha conf do squid;
Minha maquina é um core 2 duo 80g de hd e 2g de ram.
http_port 8080
visible_hostname coral
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
#dns_nameservers 127.0.0.1
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
cache_dir diskd /cache/spool/squid 10000 128 256
cache_mem 64 MB
cache_access_log /cache/log/squid/access.log
cache_log /dev/null
cache_store_log /dev/null
mime_table /etc/squid/mime.conf
maximum_object_size 4096 KB
half_closed_clients off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 10080
half_closed_clients off
#auth_param basic program /usr/local/bin/smb_auth -W SENAC_AR-ES -U 10.27.4.1
#auth_param basic children 5
#auth_param basic realm ACESSO A INTERNET
#auth_param basic credentialsttl 2 hours
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl SSL_ports port 563
acl Safe_ports port 80 21
acl Safe_ports port 5190
acl Safe_ports port 6891
acl Safe_ports port 1755 3478
acl Safe_ports port 443
acl Safe_ports port 8181 8383
acl Safe_ports port 110 25
acl Safe_ports port 6881 6882
acl CONNECT method CONNECT
acl localhost src 127.0.0.1/255.255.255.255
#acl webserver src 10.27.4.0/255.255.252.0
#acl usuarios proxy_auth REQUIRED
#http_access allow usuarios
#http_access allow manager webserver
http_access deny manager
http_access deny !Safe_ports