Mikrotik hotspot default queue

When you configure a hotspot with Mikrotik, routerOS always creates a default queue called hs-<hotspot1> allowing unlimited speed both directions. You can delete the queue, but it will come up again after restart. The problem is that this queue will override simple queue which are below it and speed limitation of hotspot users will not work properly.

This can be easily avoided by the script :

:foreach m in=[/queue simple find name=”hs-<server1>”] do {/queue simple remove $m;};

Setup scheduler to run the script every 5-10 minutes and you will be sure that your queues in hotspot will work always !