All pastes #764664 Raw Edit

SQUID TRANSPARENT

public text v1 · immutable
·published 2007-11-07 13:36 UTC
rendered paste body
http_port 192.168.100.129:3128 transparent
access_log /var/log/squid/access.log
error_directory /etc/squid/errors
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 192.168.100.0/255.255.255.0
#acl mired src 192.168.100.0/24
#always_direct allow all
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
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 nodominios dstdomain "/etc/squid/nodominios"
acl permitidas src "/etc/squid/permitidas"
#acl noips dst "/etc/squid/noips"
acl paginasdenegadas url_regex "/etc/squid/porn"
acl noporn url_regex "/etc/squid/noporn"
acl CONNECT method CONNECT
acl FILESDOWN urlpath_regex "/etc/squid/FILESDOWN"
acl freemail url_regex "/etc/squid/freemail"

http_access allow manager localhost
#http_access allow mired
http_access deny paginasdenegadas
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow permitidas
http_access allow noporn
http_access deny FILESDOWN
http_access allow freemail
http_access deny all