Mikrotik Hotspot Data Limit Trial
Mikrotik's hotspot service is quite amazing considering what it costs. It does have some limitations though. One of these is the fact that you cannot set a data limit to the trial account, only a time limit. Luckily there are a few workarounds for this, the original concept for this comes from www.mikrotik-routeros.com but I have corrected a couple of bugs and added some functionality. Start by creating your FreeUser profile: IP>HOTSPOT>USER PROFILES>ADD Name: FreeUser You can customize this as you like, my preference is to only allocate 512k of bandwidth to the free users Create the following two scripts on your routerboard by going to SYSTEM>SCRIPTS>ADD Script 1: The first script is the one that checks if a user has reached your specified limit, you can change the limit in the second line of the script. Name: limitdata #Set your dowload limit in MegaBYTES! :local downloadlimitmb "50" ### You will not need to edit anything below this line ### :loc...




Comments
Post a Comment