
marcospt
(usa Ubuntu)
Enviado em 01/10/2013 - 13:42h
Galera sou iniciante no linux, e preciso configurar um servidor proxy, se puderem ajudar, segue meu squid.conf atual:
(principalmente com o cache)
configuração da maquina
DUAL-CORE
HD 80GB SATA
1GB RAM
http_port 192.168.0.10:3128
visible_hostname telecentro-server
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl rede src 192.168.0.0/24
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 Safe_ports port 80 # http
acl Safe_ports port 110
acl Safe_ports port 25
acl Safe_ports port 21
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 Safe_ports port 2631 # Sefip
acl Safe_ports port 1494 # Sigov
acl purge method PURGE
acl CONNECT method CONNECT
#Bloqueia palavras presentes nessa lista
acl bloq_palavra url_regex "/etc/squid3/palavrasbloqueadas"
http_access deny all bloq_palavra
#bloqueia dominios
acl domains dstdomain "/etc/squid3/domains"
http_access deny all domains
http_access allow rede
http_access deny all
http_reply_access allow all
icp_access allow all