gleilson
(usa Ubuntu)
Enviado em 21/10/2011 - 00:34h
Pessoal o meu proxy transparente não funciona, mas quando eu coloco no navegador funciona normal, ele estava funcionando agora nao mais.
# WELCOME TO SQUID 3.0.STABLE19
# ----------------------------
#
#Recommended minimum configuration:
http_port 3128 transparent
visible_hostname servidor.provnet
acl redelocal src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl SSL_ports port 443 563 1834 1863 4242 # SSL
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 CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
# And finally deny all other access to this proxy
http_access allow redelocal
http_access allow all
http_access deny all
icp_access deny all
htcp_access deny all
cache_mem 256 MB
maximum_object_size_in_memory 32 KB
cache_dir aufs /var/spool/squid3 307200 16 256
minimum_object_size 0 KB
maximum_object_size 5 MB
cache_swap_low 90
cache_swap_high 95
memory_replacement_policy heap LRU
cache_replacement_policy heap LRU
half_closed_clients off
#Default:
access_log /var/log/squid3/access.log squid
cache_log /var/log/squid3/cache.log
cache_store_log /var/log/squid3/store.log
#Default:
# mime_table /usr/share/squid3/mime.conf
#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320
mail_program gleilson.barbosa@gmail.com
cache_mgr gleilson.barbosa@gmail.com
error_directory /usr/share/squid3/errors/Portuguese
#Default:
# cache_dns_program /usr/lib/squid3/dnsserver
# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid3