garoto200x@hotma
(usa Slackware)
Enviado em 28/04/2011 - 09:45h
Meu squid nao esta bloqueando com proxy transparente, sou mega novato em linux. ( slack )
Segue meu .conf
( se alguem puder me passar um .conf com bloqueio de site ficaria muito agradecido )
http_port 3128 transparent
access_log /var/squid/logs/access.log squid
#cache_effective_user squid
#cache_effective_group squid
cache_store_log none
#Examples:
#acl macaddress arp 09:00:2b:23:45:67
#acl myexample dst_as 1241
#acl password proxy_auth REQUIRED
#acl fileupload req_mime_type -i ^multipart/form-data$
#acl javascript rep_mime_type -i ^application/x-javascript$
#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl rede_interna src 192.168.1.0/255.255.255.0
acl Sitesblock dstdomain "/etc/squid/block.txt"
acl liberados url_regex -i "/etc/squid/liberados.txt"
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
acl SSL_ports port 443
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
acl skypedomain dstdomain skype.com
#acl Internet_Total external unix_group internettotal
#acl Internet_Telemarketing external unix_group internettmkt
#acl Internet_Restrita external unix_group internetrestrita
#acl liberados url_regex -i "/etc/squid/liberados.txt"
#acl telemarketing url_regex -i "/etc/squid/telemarketing.txt"
#acl restrita url_regex -i "/etc/squid/restrita.txt"
#acl sextafeira time F 12:00-13:15
#acl quintafeira time H 12:00-13:15
#acl quartafeira time W 12:00-13:15
#acl tercafeira time T 12:00-13:5
#acl segundafeira time M 12:00-13:15
#Default:
http_access deny rede_interna
#http_access allow rede_interna
#http_access allow liberados
#http_access deny restrita
http_access deny manager
#http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports
http_access deny all
Grato a todos.