[CentOS-es] Squid 2.6

ArcosCom Linux User linux en arcoscom.com
Jue Feb 28 17:09:24 UTC 2008


Solo por confirmarte lo que ya te han contestado otros usuarios.

Sí, tienes que indicar en las ACL quiénes quieres que naveguen.

Salu2

El Jue, 28 de Febrero de 2008, 1:02, Alexander López Lapo escribió:
> Estimados Todos. Tengo una pequeña inquietud, tengo configurado mi
> servidor proxy sobre un Centos 4.4. Y tengo la siguiente configuración:
>
> http_port 3128
> hierarchy_stoplist cgi-bin ? hotmail
> acl QUERY urlpath_regex cgi-bin \?
> cache deny QUERY
> acl apache rep_header Server ^Apache
> broken_vary_encoding allow apache
> cache_mem 1000 MB
> cache_replacement_policy lru
> cache_dir ufs /cache/squid 6000 16 256
> access_log /logs/squid/access.log squid
> cache_log /logs/squid/cache.log
> cache_store_log none
>
> #### REFERENCIA DE PAGINAS
> #useragent_log /logs/squid/useragent.log
> #referer_log /logs/squid/refer.log
> #######################################
> cache_effective_user squid
> cache_effective_group squid
> emulate_httpd_log on
>
> auth_param basic program /etc/squid/libexec/ncsa_auth /etc/passwd
> auth_param basic children 8
> auth_param basic realm Squid proxy-caching web server
> auth_param basic credentialsttl 2 hours
> auth_param basic casesensitive off
>
> #Suggested default:
> refresh_pattern ^ftp:           1440    20%     10080
> refresh_pattern ^gopher:        1440    0%      1440
> refresh_pattern .               0       20%     4320
>
> logfile_rotate 10
>
> #Recommended minimum configuration:
> 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
> acl SSL_ports port 443
> acl Safe_ports port 80          # http
> acl Safe_ports port 8080        # https
> acl Safe_ports port 21          # ftp
> acl Safe_ports port 443         # https
> acl Safe_ports port 444         # otra aplicacion
> acl Safe_ports port 70          # gopher
> acl Safe_ports port 210         # wais
> acl Safe_ports port 280         # http-mgmt
> acl Safe_ports port 488         # gss-http
> acl Safe_ports port 1503         # pucesi
> acl Safe_ports port 591         # filemaker
> acl Safe_ports port 777         # multiling http
> acl Safe_ports port 7777        # multiling http
> acl CONNECT method CONNECT
> acl mynet src 192.168.1.0/24
> acl usuarios proxy_auth REQUIRED
>
> acl negados dstdom_regex "/etc/squid/acl/negados"
> acl excep src "/etc/squid/acl/excep"
> acl extensiones url_regex -i "/etc/squid/acl/extensions"
>
>
>
> http_access allow  manager localhost
> http_access allow  redutpl
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access deny negados
>
>
> http_access allow usuarios
>
>
> Cuando levanto mi servidor accepta conexiones, pero lo que no entiendo
> es porque tengo quejas de que no pueden navegar con proxy, cuando yo si
> lo puedo hacer. Sera que me pueden ayudar, con alguna recomendacion.
> Esoty usando squid-2.6
>
> _______________________________________________
> CentOS-es mailing list
> CentOS-es en centos.org
> http://lists.centos.org/mailman/listinfo/centos-es
>




Más información sobre la lista de distribución CentOS-es