![Anderson Anderson](//static.vivaolinux.com.br/imagens/fotos/328e5585db8a0.JPG)
AndersonCezar
(usa Linux Mint)
Enviado em 26/01/2017 - 09:53h
#PORTAS
http_port 80
http_port 3128
http_port 8080
http_port 8799
error_directory /usr/share/squid3/errors/Portuguese
#NOME DO SERVER
visible_hostname nomedoserver
acl ip url_regex (MEU IP)
acl all src 0.0.0.0/0
acl url1 dstdomain -i 127.0.0.1
acl url2 dstdomain -i localhost
acl url3 dstdomain -i (MEU IP)
acl payload dstdomain -i "/etc/squid3/payload.txt"
acl accept dstdomain -i "/etc/squid3/accept.txt"
acl block dstdomain -i "/etc/squid3/block.txt"
acl downloads_proibidos url_regex -i \.torrent
#permissões
http_access allow ip
http_access allow url1
http_access allow url2
http_access allow url3
http_access allow payload
http_access allow accept
#bloqueados
http_access deny block
http_access deny downloads_proibidos
http_access deny all #Você dropa tudo nessa última linha
forwarded_for off
via off