10/06/2010, 16:23
|
| | Fecha de Ingreso: junio-2010
Mensajes: 3
Antigüedad: 14 años, 5 meses Puntos: 0 | |
Respuesta: Proxy Hola estoy montando un proxy pero en el equipo cliente sólo me llega a mostrar la pagina del equipo que está como proxy. Quizas haya una linea mal configurada, agradecería le puedan echar un vistazo a mi squid.config
# TAG: acl
#Recommended minimum configuration:
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
###############################################
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 10.10.0.0/16 # RFC1918 possible internal network
acl localnet src 192.168.1.0/24 # RFC1918 possible internal network
################################################
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
###############################################
##########Aqui mis reglas ACLS#########################
acl CONNECT method CONNECT
acl localnet src 192.168.1.0/24
acl PAGPORN url_regex "C:\squid\etc\[PALABRA CENSURADA].txt"
acl PAGBLOCK url_regex "C:\squid\etc\bloqueadas.txt"
acl EXTENSIONES urlpath_regex "C:\squid\etc\extensiones.txt"
acl refrigerio time MTWHF 13:00-14:00
acl salida time MTWHF 20:00-23:59
acl sabados time A 08:30-13:00
acl hotmail dstdomain .hotmail.com
acl passport dstdomain .passport.net
acl msn dstdomain .msn.com
acl hotmail_domains dstdomain .hotmail.msn.com
header_access Accept-Encoding deny hotmail_domains
##############################################
############Aqui le digo que permito o deniego#####
#Recommended minimum configuration:
http_access deny PAGPORN
http_access deny PAGBLOCK !refrigerio !salida !sabados
http_access deny extensiones
http_access allow hotmail_domains
http_access allow hotmail
http_access allow passport
##Nose Pero Ayudan a Hotmail############
always_direct allow hotmail
always_direct allow passport
always_direct allow msn
##############################
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
#
#http_access deny to_localhost
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
# And finally deny all other access to this proxy
http_access deny all
# TAG: icp_access
icp_access allow localnet
icp_access deny all
# TAG: http_port
http_port 8080
# TAG: hierarchy_stoplist
#We recommend you to use at least the following line.
hierarchy_stoplist cgi-bin ?
# TAG: cache_mem (bytes)
cache_mem 1000 MB
# TAG: cache_dir
cache_dir ufs c:/squid/var/cache 1000 16 256
# TAG: access_log
access_log c:/squid/var/logs/access.log squid
# TAG: cache_log
cache_log c:/squid/var/logs/cache.log
# TAG: refresh_pattern
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
# TAG: upgrade_http0.9
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
# TAG: broken_vary_encoding
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
# Leave coredumps in the first cache dir
coredump_dir c:/squid/var/cache
# TAG: dns_nameservers
dns_nameservers 200.48.225.130 200.48.225.146
# TAG: icon_directory
icon_directory c:/squid/share/icons
# TAG: error_directory
error_directory c:/squid/share/errors/Spanish
Gracias de antemano por leer el post |