Colega eso es sencillo tratare de mostrarte una idea de los pasos que
debes seguir....

Configurar squid en win...

1-Descomprimes squid-2.6.STABLE20 en c:/squid/
2-Configuras el c:/squid/etc/squid.conf segun a tu necesidad
3-Renombras cachemgr.conf.default y mime.conf.default
4-Ejecutas desde msdos (konsole win) c:/squid/sbin/squid -z para indexar
el cache
5-Ejecutas desde msdos c:/squid/sbin/squid -i para instalarlo como
servicio del sistema
6-Finalmente reinicias la PC o escribes en el Run: net start squid

Configuracion basica...

# NETWORK OPTIONS
#
-----------------------------------------------------------------------------
http_port 3128
cache_peer a.b.c.d parent 3128 0 no-query default no-digest no-delay
login=PASS

# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
#
-----------------------------------------------------------------------------
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
acl dnslocal dstdomain .tu.dominio.local
no_cache deny QUERY
no_cache deny dnslocal

# OPTIONS WHICH AFFECT THE CACHE SIZE
#
-----------------------------------------------------------------------------
cache_mem 12582912 bytes
cache_swap_low 98
cache_swap_high 99
maximum_object_size 134217728 bytes
maximum_object_size_in_memory 131072 bytes
ipcache_size 4096
ipcache_low 98
ipcache_high 99
fqdncache_size 2096
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

# LOGFILE PATHNAMES AND CACHE DIRECTORIES
#
-----------------------------------------------------------------------------
cache_dir ufs c:/squid/var/cache 15000 16 256
access_log c:/squid/var/logs/access.log squid
cache_log none
cache_store_log none

# OPTIONS FOR TUNING THE CACHE
#
-----------------------------------------------------------------------------
request_header_max_size 524288 KB
request_body_max_size 0 KB
refresh_pattern -i ^ftp: 600000 100% 700000 override-expire
override-lastmod reload-into-ims ignore-no-cache ignore-private
ignore-auth
refresh_pattern -i ^http: 600000 100% 700000 override-expire
override-lastmod reload-into-ims ignore-no-cache ignore-private
ignore-auth
refresh_pattern -i ^gopher:     600000 100% 700000 override-expire
override-lastmod reload-into-ims ignore-no-cache ignore-private
ignore-auth
refresh_pattern -i . 600000 100% 700000 override-expire override-lastmod
reload-into-ims ignore-no-cache ignore-private ignore-auth

quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100

read_ahead_gap 16384 bytes
negative_ttl 0 seconds
positive_dns_ttl 86400 seconds
negative_dns_ttl 1 seconds
range_offset_limit 0 bytes

# TIMEOUTS
#
-----------------------------------------------------------------------------
forward_timeout 240 seconds
connect_timeout 60 seconds
peer_connect_timeout 30 seconds
read_timeout 900 seconds
request_timeout 120 seconds
persistent_request_timeout 60 seconds
client_lifetime 7200 seconds
half_closed_clients off
pconn_timeout 60 seconds
shutdown_lifetime 20 seconds

# ACCESS CONTROLS
#
-----------------------------------------------------------------------------
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 SSL_ports port 443
acl Safe_ports port 80 21 443 70 210 280 488 591 777 1025-65535
acl purge method PURGE
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

cache_mgr [EMAIL PROTECTED]
visible_hostname proxy.tu.dominio.local
dns_testnames localhost

acl redlocal src d.c.b.a/24
acl dns dstdomain .tu.dominio.local
acl prohibidos url_regex 'c:/squid/etc/SitiosDenegados'

http_access allow redlocal !prohibidos
http_access deny all

always_direct allow dns
never_direct deny dns
always_direct deny all
never_direct allow all

http_reply_access allow all
icp_access allow all
miss_access allow all
reply_header_max_size 20480 bytes
reply_body_max_size 0 allow all

# MISCELLANEOUS
#
-----------------------------------------------------------------------------
logfile_rotate 0
memory_pools off
forwarded_for off
log_icp_queries off
icp_hit_stale on
icon_directory c:/squid/share/icons
error_directory c:/squid/share/errors/Spanish
nonhierarchical_direct off
prefer_direct off
pipeline_prefetch on
store_dir_select_algorithm round-robin
ie_refresh on
vary_ignore_expire on

__________________________________________
Atentamente: Sarbelio Rodríguez Brocard
AdminRed Linux & WebMaster Jovenclubs en Moa
Para más Info...
CI:841115XXXXX
Sitio Web: http://www.hlg.jovenclub.cu/moa/
Email: [EMAIL PROTECTED]
Tel-Psnl: 60-6175 Tel-Work: 60-4933




> hola lista:
> se que es una falta de respeto la pregunta que voy hacer y espero me
> disculpen.
> alguien tiene instalado squid en windows?
> es que estoy tratando de monrtarlo pero no se me inicia el servicio, si me
> pudieran ayudar seria barbaro
> gracias de antemano
>
>
>
> Empresa de Investigaciones y Proyectos Hidráulicos de Camagüey
> Ave. Libertad Nro 20 e/ Alonso Fruto y Candelaria
> Camagüey, Cuba. CP 70300
> Tel: 296084 y 281735
>
>
>
>




_______________________________________________
Cancelar suscripción
https://listas.softwarelibre.cu/mailman/listinfo/linux-l
Buscar en el archivo
http://listas.softwarelibre.cu/buscar/linux-l

Responder a