Configurando Squid NT (Para Windows)
Hola esta es mi configuración que uso en squid for windows o NT.
Primero descarga el archivo zip de esta dirección: http://squid.acmeconsulting.it/download/squid.html y luego descomprimelo
Dentro de la carpeta etc he creado los siguientes 3 archivos:
squid.conf
http_port 10.10.1.1:3128
cache_mem 64 MB
cache_dir ufs c:/squid/var/cache 200 16 256
dns_nameservers 200.48.225.130 200.48.225.146
#
# Configuración mínima recomendada:
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 563
acl Safe_ports port 80 # http
# acl Safe_ports port 21 # ftp
# acl Safe_ports port 443 563 # https, snews
# 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 todalared src 10.10.1.0/255.255.255.0
acl sitiosdenegados url_regex "c:\squid\etc\no_sites.txt"
acl listaextensiones urlpath_regex "c:\squid\etc\no_extension.txt"
#
error_directory c:/squid/share/errors/Spanish
#
# Inserte sus reglas
#
http_access allow manager localhost
http_access allow todalared !sitiosdenegados !listaextensiones
http_access deny !Safe_ports
http_access deny all
#
logfile_rotate 7
#
# httpd_accel_host virtual
# httpd_accel_port 0
# httpd_accel_with_proxy on
# httpd_accel_host 10.10.1.1
# httpd_accel_port 80
# httpd_accel_with_proxy on
# httpd_accel_uses_host_header on
#
visible_hostname secundariasv
no_sites.txt
# Sitios denegados
666
777
.claro
.ebuddy.com
.hi5.com
.freelotto
.meebo.com
.nextel
.telefonica
.tupostal
.ya.com
.youtube.com
images.google
adidas
ask
auto
bay
compra
celulares
chicas
chicos
cyzone
diosnoexiste
discoteca
ellas
ellos
encontrartupareja
epicrecords
ericson
estasmuerto
estaspodrido
esmas
escalofrio
fribolidades
frigida
futbol
game
grounds
gunbound
hacker
hottopic
ilove
imdb
juego
letras
loteria
lyrics
maestrosdelweb
mario
mercadolibre
messenger
miedo
mini
misabueso
nokia
motorola
mujercitas
mujerzuelas
musica
music
myspace
nike
orgia
parchis
pedofilia
pedofilo
pedroresponde
petardas
pene
play
plainwhitet's
pokemon
porno
podrido
podrida
radio
rpp
sexo
sofnix
sony
softonic
shopbootlegs
sms
tele
tonteria
tono
tv
vago
vagina
venta
vudu
wwe
wweconsumer
xxx
zapatillas
zapatos
zorras
no_extension.txt
\.avi$
\.mp4$
\.mp3$
\.mp4$
\.mpg$
\.mpeg$
\.mov$
\.ra$
\.ram$
\.rm$
\.rpm$
\.vob$
\.wma$
\.wmv$
\.wav$
\.xls$
\.mbd$
\.ppt$
\.pps$
\.ace$
\.bat$
\.exe$
\.lnk$
\.pif$
\.scr$
\.sys$
\.zip$
\.rar$
\.flv$
\.swf$
\.ogg$
Ahora usa la consola de windows y ejecuta estos comandos:
c:/quid/sbin/squid –z para crearla extructura de cache de disco y
c:/quid/sbin/squid –i para isntalar el squid como un servicio del windows NT.

