sábado, 7 de octubre de 2017

Squid 2.7 + Monitor

Squid 2.7 Full Cache de HTTP

En esta ocasion les presentamos Squid Proxy para Windows


Requerimientos minimos:

Procesador Intel Pentium III
Memoria RAM 256MB
Disco Duro 40GB
Windows XP SP3
Windows Server 2003


Requerimientos adecuados:

Procesador Intel Dual Core
Memoria RAM 4GB
Disco Duro 500GB
Windows 7, Windows 8, Windows 10,
Windows Server 2008, 2012, 2016

Diagrama de red para Squid:



Reglas para MikroTik:



# Redireccion de Clientes

/ip firewall address-list
add address=192.168.20.0/24 disabled=no list="Squid" comment="Proxy Cache"

/ip firewall nat
add action=dst-nat chain=dstnat dst-address=!192.168.10.222 dst-port=80,8080 protocol=tcp src-address-list="Squid" to-addresses=192.168.10.222 to-ports=3128 comment="Redirect Squid"

# Marcado para Full Cacheo

/ip firewall mangle
add action=mark-connection chain=postrouting content="X-Cache: HIT" new-connection-mark=squid-connection protocol=tcp src-address= 192.168.10.222 comment=Squid_Server
add action=mark-packet chain=postrouting connection-mark=squid-connection new-packet-mark=squid-cache-packs

/queue simple
add limit-at=5M/5M max-limit=5M/5M packet-marks=squid-cache-packs priority=6/6 queue=default/default target="" name=Squid_Server

/system scheduler
add name="Squid Servidor" on-event="/queue simple move [/queue simple find name=\"Squid_Server\"] [:pick [find] 1]" start-time=startup interval=10s

# En caso de que se apague el servidor

/tool netwatch
add comment="Servidor Squid" disabled=no down-script="/ip firewall nat set [find comment=\"Redirect Squid\"] disabled=yes" host= 192.168.10.222 interval=2s timeout=2s up-script="/ip firewall nat set [find comment=\"Redirect Squid\"] disabled=no"


Descargar Squid Actualización 2.0: http://goo.gl/RSYxiM


Configuración de proxy manual sin MikroTik



Capturas de Pantalla:


Que Dios los bendiga...

MikroTik Balancer

MikroTik configuracion de balanceo Prototipo de configuración standar, pcc modo router  neutro,  adaptable para cualquier uso... Req...