script {{ автоматическое разделение скачивания и загрузки между пользователями равномерно }} /queue simple ;\
remove [find comment="newmind"] ;\
/ip hotspot host;
:foreach i in=[find]\
do={\
:local ip [get $i address];\
:local down 4096
:local upl 256
:local r [:len [find]]
:local downlo ((down / r)*1000);
:local uplo ((upl / r)*1000);
:local aspeed ("$uplo"."/"."$downlo")
/queue simple ;\
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=newmind direction=both disabled=no \
interface=all limit-at=$aspeed max-limit=$aspeed name=$ip packet-marks="" parent=none priority=4 \
queue=default-small/default-small target-addresses=$ip total-queue=default-small;\
}}}}
remove [find comment="newmind"] ;\
/ip hotspot host;
:foreach i in=[find]\
do={\
:local ip [get $i address];\
:local down 4096
:local upl 256
:local r [:len [find]]
:local downlo ((down / r)*1000);
:local uplo ((upl / r)*1000);
:local aspeed ("$uplo"."/"."$downlo")
/queue simple ;\
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=newmind direction=both disabled=no \
interface=all limit-at=$aspeed max-limit=$aspeed name=$ip packet-marks="" parent=none priority=4 \
queue=default-small/default-small target-addresses=$ip total-queue=default-small;\
}}}}