All pastes #432019 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-04-10 00:39 UTC
rendered paste body
#
visible_hostname FireMachine #ponle un nombre a tu servidor proxy.

#http_port 3128 #por defecto te configura en el port 3128

http_port 8080
cache_mem 32 MB
cache_dir ufs /var/spool/squid 100 16 256


#http_accel_host virtual
#http_accel_port 80
#http_accel_with_proxy on
#http_accel_uses_host_header on


icp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
acl 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 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 631 # cups
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT

#acl denegados url_regex "/etc/squid/denegar" 

#debes tener una lista llamada "denegar" con las dir que
#quieras bloquear.

acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
#http_access deny denegados #aca haces efectivo el rechazo.
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow all
http_access deny all
icp_access deny all