[go: up one dir, main page]

0% found this document useful (0 votes)
137 views4 pages

Script MK v6

Este documento proporciona instrucciones para configurar Mikrotik v6 para usar ThunderCache en dos modos: 1) Full Cache, donde todo el tráfico pasa a través de ThunderCache. 2) Modo de enrutamiento, donde solo el tráfico destinado a direcciones no cacheadas se enruta directamente, mientras que el resto pasa a través de ThunderCache. Se proporcionan reglas de firewall, colas y direccionamiento para implementar ambos modos.

Uploaded by

SOTO320
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
137 views4 pages

Script MK v6

Este documento proporciona instrucciones para configurar Mikrotik v6 para usar ThunderCache en dos modos: 1) Full Cache, donde todo el tráfico pasa a través de ThunderCache. 2) Modo de enrutamiento, donde solo el tráfico destinado a direcciones no cacheadas se enruta directamente, mientras que el resto pasa a través de ThunderCache. Se proporcionan reglas de firewall, colas y direccionamiento para implementar ambos modos.

Uploaded by

SOTO320
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Script Mk v6

1.- Reglas para Full Cache con Mikrotik Versin


v6
?

/ip firewall nat

add action=dst-nat chain=dstnat comment="THUNDER PRO MK v6" content=!https disabled


src-address-list=!sin_cache_src to-addresses=192.168.4.2 to-ports=8080

/ip firewall mangle

add action=mark-packet chain=postrouting comment="Thundercache 7.1" dscp=18 new-pack

/queue type

add kind=pcq name=Mkv6Thunder pcq-classifier=dst-address pcq-rate=3M

/queue tree

/queue tree add name=THUNDER7 parent=global packet-mark=thunder_packs limit-at=5M m

/queue simple

add name=FULL-Cache packet-marks=thunder_packs priority=1/1 queue=Mkv6Thunder/Mkv6T

NOTA: las reglas de SIMPLE QUEUE debe estar en primer lugar.


2.- NUEVO! Reglas para Configurar ThunderCache en
Paralelo con Mikrotik v6 en Routeo
?

1 Configurar MODO Routeo

***IMPORTANTE***Interfaces debe estar asi para que funcione el script:


2

WAN
3 LAN

ThunderCache
4

NOTA: Modificar la IP del thundercache 172.10.11.2


6

7
/ip route
8
add check-gateway=ping distance=1 gateway=172.10.11.2 routing-mark=Thunder-R
9

1
0 /ip firewall mangle

11 add action=mark-routing chain=prerouting dst-address-list=!No-Cache dst-por


Router protocol=tcp src-address-list=\

1
2 Clientes_Thunder

add action=mark-connection chain=prerouting dst-port=80 in-interface=Thunde


1
3
add action=mark-routing chain=prerouting connection-mark=Thunder_Out in-int
protocol=tcp src-port=80
1
4 add action=mark-packet chain=postrouting comment="Thundercache 7.1" dscp=18

1
5
NOTA: En address-List Poner todos los Pool de IPs que usas para tus CLient
1
6

1 Ejemplo:
7
/ip firewall address-list
1
8 add address=192.168.10.0/24 list=Clientes_Thunder

1 add address=192.168.37.0/24 list=Clientes_Thunder


9
add address=192.168.21.0/24 list=Clientes_Thunder
2
0

2 NOTA: pcq-rate=3M Puedes Modificar segun que soporte su Access Point.


1
Ejemplo: pcq-rate=10M , pcq-rate=15M...etc. El Script esta 3M
2
2

2 /queue type
3
add kind=pcq name=Mkv6Thunder pcq-classifier=dst-address pcq-rate=3M
2
4

2 NOTA: limit-at=5M max-limit=10M Puedes Modificar ya sea asi: limit-at=15M


5
Pero siempre viendo que soporte tus APs Recomendado (limit-at=10M max-limit

2
6

2 /queue tree
7
/queue tree add name=THUNDER7 parent=global packet-mark=thunder_packs limit

2
8

/queue simple
2
9
add name=FULL-Cache packet-marks=thunder_packs priority=1/1 queue=Mkv6Thund

3
0

3
1

3
2

3
3

3
4

3
5

3
6

3
7

3
8

3
9

4
0

14 Responses to Script Mk v6

You might also like