All pastes #449909 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-20 14:28 UTC
rendered paste body
acl paginasoff url_regex "/etc/squid/paginasmalas"
acl lan src 192.168.2.1 192.168.1.0/24
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 to_localhost dst 127.0.0.0/8


http_access deny paginasoff
http_access allow localhost
http_access allow lan


http_access allow manager localhost
http_access deny manager
# Only allow purge requests from localhost
http_access allow purge localhost
http_access deny purge
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
# And finally deny all other access to this proxy
http_access deny all