Documente Academic
Documente Profesional
Documente Cultură
Pegar en Mangle
Código PHP:
/ip firewall mangle
add action=mark-connection chain=prerouting comment=P2P disabled=no new-
connection-mark="PRIO 8" p2p=all-p2p passthrough=yes
add action=mark-
connection chain=prerouting comment="MARCO PRIO 1" disabled=no new-
connection-mark="PRIO 1" passthrough=yes protocol=icmp
add action=mark-
connection chain=prerouting comment="MARCO PRIO 2 , STREAMING -
JUEGOS,VOIP" disabled=no dst-port=5060-5061 new-connection-
mark="PRIO 2" passthrough=yes protocol=udp
add action=mark-
connection chain=prerouting comment="marco prio 3 navegacion" disabled=no
dst-port=80,443,8000-9000 new-connection-
mark="PRIO 3" passthrough=yes protocol=tcp
add action=mark-
connection chain=prerouting comment="MARCO PRIO 5" disabled=no new-
connection-mark="PRIO 5" passthrough=yes
Código PHP:
/queue type
add kind=sfq name=BAJADA sfq-allot=1514 sfq-perturb=5
add kind=sfq name=SUBIDA sfq-allot=1514 sfq-perturb=5
Código PHP:
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-
at=0 max-limit=0 name=Download parent=ether5 priority=1
Si estas usando PC y esta activado el webproxy y deseas que haya cache full entonces
deberas agregar las siguientes lineas para todos los casos estamos asumiendo que :
ether5 = Local
Código PHP:
/ip firewall mangle
add action=mark-
connection chain=output comment="" disabled=no dscp=4 new-connection-
mark=fullcache out-interface=ether5 passthrough=yes
add action=mark-packet chain=output comment="" connection-
mark=fullcache disabled=no new-packet-mark=fullcache out-
interface=ether5 passthrough=yes
Código PHP:
/ip firewall mangle
add action=mark-connection chain=output comment="" content="X-
Cache: HIT" disabled=no new-connection-mark=fullcache out-
interface=ether5 passthrough=yes
add action=mark-packet chain=output comment="" connection-
mark=fullcache disabled=no new-packet-mark=fullcache out-
interface=ether5 passthrough=yes
Esto pegas en si el caso es Paralelo con proxy (uso forward) /ip firewall
mangle
Código PHP:
/ip firewall mangle
add action=mark-connection chain=postrouting comment="" content="X-
Cache: HIT" disabled=no new-connection-mark=fullcache out-
interface=ether5 passthrough=yes
add action=mark-packet chain=postrouting comment="" connection-
mark=fullcache disabled=no new-packet-mark=fullcache out-
interface=ether5 passthrough=yes
Código PHP:
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-
at=0 max-limit=20M name=full_cache packet-mark=full_cache parent=global-
out priority=8 queue=default