i want to enable RB built in cache and make my hotspot users arrived it in the max speed
till now i made the first step, still the second how to make users connect to cache full speed (i give each of my hotspot users 1M/1M speed in profiles)
====================
Answer1
maybe something like this ?
First Mark Cached Contents by MANGLE Rule.
Code:
/ip firewall mangle
add action=mark-packet chain=output comment=“CACHE HIT” disabled=no dscp=4
new-packet-mark=cache-hits passthrough=no
Now if you are using mikoritk 5.x , Create an Queue Tree which will send cache-hits packets to users at full LAN speed, ignoring the user’s Static OR Dynamic QUEUES
Quote:
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0
max-limit=0 name=“Unlimited Speed for CACHE” packet-mark=cache-hits
parent=global-out priority=8 queue=default
=================================
thanks a lot for answering
here is my firewall scripts
i use hotspot with (username & password) RB 6.7 (there is no global out and no traffic on dscp=4)
does this scripts right?
"
/ip firewall nat
add action=redirect chain=hs-auth comment=“obada cache final” dst-port=80 protocol=tcp to-ports=
8080
"
first there is a nat redirection sequence dstnt to prehotspot to hotspot (here you can see port 80 redirected to port 64873, should i get my proxy packets from this port?? or i just give my webproxy this port??
when i but this firewall nat as the first rule my users couldent reach my login page
"
/ip firewall mangle
add action=mark-packet chain=output new-packet-mark=cacheout protocol=tcp src-port=8080
add action=mark-packet chain=output comment=Cache new-packet-mark=Cache passthrough=no
"
thanks again