He instalado sobre un servidor en mi trabajo con Windows Server 2008 Enterprise Edition el proxy Squid 2.7 STABLE y lo he configurado para que admita navegación a ciertos sitios.
El servidor está corriendo como Active Directory y ciertas politicas de usuarios apuntan para que usen obligatoriamente el proxy Squid por razones de banda ancha del internet y de seguridad, además el servidor se encuentra corriendo los servicios de SQL. Se que sobrecargar el servidor con tantos servicios no es tan bueno, pero el servidor tiene una buena capacidad de hardware y no son tantos los usuarios que se conectan a el (20 aprox. como tope máximo).
En fin, he configurado el proxy Squid con su puerto original, se ha instalado el serivicio de squid correctamente, las carpetas cache estan armadas y el puerto 3128 en el firewall está abierto para recibir y enviar conexiones pero sin embargo, así como tambien, está agregada la misma excepción en el firewall el servicio de Squid directamente.
El error que me sale al intentar de navegar a cualquier sitio permitido es el siguiente:
Citar
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://www.google.com/
The following error was encountered:
Connection to Failed
The system returned:
(10061) WSAECONNREFUSED, Connection refused.
The remote host or network may be down. Please try the request again.
Your cache administrator is administrador.
Generated Wed, 10 Jun 2015 22:08:11 GMT by proxy (squid/2.7.STABLE8)
The requested URL could not be retrieved
While trying to retrieve the URL: http://www.google.com/
The following error was encountered:
Connection to Failed
The system returned:
(10061) WSAECONNREFUSED, Connection refused.
The remote host or network may be down. Please try the request again.
Your cache administrator is administrador.
Generated Wed, 10 Jun 2015 22:08:11 GMT by proxy (squid/2.7.STABLE8)
El config es el siguiente:
Citar
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 0.0.0.0/32
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.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
acl CONNECT method CONNECT
acl good_sites dstdomain c:/squid/etc/good_sites.acl
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all !good_sites
icp_access allow localnet
icp_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_dir ufs c:/squid/var/cache 10000 16 256
access_log c:/squid/var/logs/access.log squid
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
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_mgr administrador
visible_hostname proxy
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.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
acl CONNECT method CONNECT
acl good_sites dstdomain c:/squid/etc/good_sites.acl
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all !good_sites
icp_access allow localnet
icp_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_dir ufs c:/squid/var/cache 10000 16 256
access_log c:/squid/var/logs/access.log squid
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
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_mgr administrador
visible_hostname proxy
Que estare haciendo mal??