Create Hotspot Multi Login With Bandwidth Limit - MikroTik Script RouterOS

Limiting Hotspot Profiles using Multi Login (1 profile raped together) is sometimes confusing, because the shared bandwidth usually does not use the Total Bandwidth Limit but instead is given bandwidth with the same speed to each IP. Actually this is not a problem if we use Mangle and Queue Tree, but it will be a different story if we use Simple Queue.

Actually this method is quite interesting for hotspot players who want to provide additional free access for users at their cafe or internet cafe and of course do not interfere with paid hotspot users, because they are on the limit as they are :)

Create a new IP Address = 10.5.10.1/24 (free only)
IP Pool = 10.5.10.2-10.5.10.254
Interface hotspot [wlan-hotspot] = replace with the name of the hotspot interface if it's been a long time, it doesn't matter because that's our real goal, khan for one interface can be set to multi IP :)

/ip address
add address=10.5.10.1/24 comment="Login Multi User" interface=[wlan-hotspot] network=10.5.10.0
/ip pool
add name=hs_multi_user ranges=10.5.10.2-10.5.10.254
/ip firewall nat
add action=masquerade chain=srcnat comment="masquerade hotspot network multi login" src-address=10.5.10.0/24
/ip hotspot user profile
add address-pool=hs_multi_user name=multi-user shared-users=10
/ip hotspot user
add name=muser password=12345 profile=multi-user
/queue simple
add max-limit=256k/512k name="Multi User" target=10.5.10.0/24
Credit: https://www.o-om.com/2018/11/cara-melimit-bandwidth-multi-login.html