I would like to shape my traffic to some site after a certain amount of it has passed through the router. For example, after there has been a 1GiB worth of content exchange between me and google, I would like to slow down my link to google.
For that, I am marking packets from
/ip firewall mangle
. There is even a parameter
conneciton-bytes
which at first looked just right for the job. However, it counts the amount of traffic during one particular connection while I would like to use the total amount of traffic.
Please proide me with some ideas of how to accomplish my task.