Custom Limit Bandwidth Hotspot With Queue Simple - MikroTik Script RouterOS

How To Custom Limit Bandwidth Hotspot With Queue Simple 1. The Rate Limit (rx / tx) is left blank 2. If there is a parent, just add the script for the parent example parent = "3.PREMIUM" 3. If you use the user manager, just enter the hotspot profile name into the Group name on usermanager, don't forget to leave the Rate limit empty # SCRIPT ON LOGIN :local datetime [/system clock get date]; :local timedate [/system clock get time]; /queue simple add name="$user -> $address" comment=("Login at: [ $timedate - $datetime ] From: [ $interface ] Mac: [ ".$"mac-address"." ]") target="$address" max-limit=1M/1M :log warning ("--> [ $user ] Login at: [ $timedate - $datetime ] From: [ $interface ] Mac: [ ".$"mac-address"." ]") # SCRIPT ON LOGOUT /queue simple remove [find name="$user -> $address"] ; :log warning ("--> [ $user ] Logout at: [ $timedate - $datetime ] From: [ $interface ] Mac: [ ".$"mac-address"." ]")Script
Hits

<- Back To Home