Redes - ayuda con squid 2.6

 
Vista:

ayuda con squid 2.6

Publicado por Eduardo (12 intervenciones) el 16/11/2007 18:20:36
Estoy tratando de configurar un servidor proxy sobre ubuntu, ya lo descarge, instale, lo probe con una maquina y si tiene salida por el proxy, el problema que tengo es que no me bloquea las paginas que quiero, les mando la configuracion, de lo que supongo que es lo principal:

# ACL para permitir acceso a Internet
acl mynet src 10.x.x.x/255.255.255.255

# ACL para denegar acceso a paginas
acl bloqueadas url_regex -i "/etc/squid/deny"

#tambien probe con esto y no me ha funcionadoque tal listeros
acl bloqueadas src "/etc/squid/deny"

# TAG: http_access
# Allowing or Denying access based on defined access lists
#
# Access to the HTTP port:
# http_access allow0|deny [!]aclname ...
#
# NOTE on default values:
#
# If there are no "access" lines present, the default is to deny
# the request.
#
# If none of the "access" lines cause a match, the default is the
# opposite of the last line in the list. If the last line was
# deny, the default is allow. Conversely, if the last line
# is allow, the default will be deny. For these reasons, it is a
# good idea to have an "deny all" or "allow all" entry at the end
# of your access lists to avoid potential confusion.
#
#Default:
http_access allow all
#
#Recommenddeny-pageed minimum configuration:
#
http_access allow manager localhost
http_access deny manager
# Only allow purge requests from locatinuación especificaremlhost
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

# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#Regla para permitir el acceso a Internet
http_access allow mynet

#http_access allow our_networks
http_access allow localhost

# Regla para denegar el acceso a paginas
http_access deny bloqueadas

# And finally deny all other access to this proxy
http_access deny all

en el archivo deny, tengo lo siguiente:

www.todito.com
www.google.com
www.hotmail.com
www.gmail.com

pero al ingresar cualquiera de estas paginas en interlent explorer, me permite el acceso, pregunta, que tengo mal configurado o que me hace falta para denegar el acceso a ciertas paginas o evitar que busque paginas con palabras como: sexo, porn, mp3, etc...

espero y alguien me pueda ayudar

Saludos
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder