This has been described and published in a number of locations now however I’d like to publish a duplicate here also in the occurrence that anyone else has further recommendations on upgrades for the program, or any further concerns.

Although I never use it much myself, many Mikrotik customers would be acquainted with the “user-manager” program designed by mikrotik as an “all-in-one” hot spot remedy for small-medium sets up.

Many of the features in this are computerized, however not the inclusion of per-account amount boundaries, which would normally be depending on the program bought. Instead most websites opt to use a predetermined rate value on a per wireless router base. An substitute choice to this would be to put different customers in different IP regularly and installation a rate-limited line shrub according to that.

I was expected to develop a program for use on the primary user-manager mikrotik, that would allow records to be allocated a amount restrict depending on the program someone had bought. Once set, this rate value continues to be the same.

Although this is appears to be like quite easy, there happens to be lot of perform stored in having something like this computerized, departing you to get again to operating day to day projects rather than having to either restrict all customers to the same rate or more intense, keep one eye on your person record to get any recently designed accounts!

With that I thoughts I composed the following primary program to allow recently designed records to be allocated a rate-limit depending on the program they bought.

You can change the to go with your own alternatives and remodel this to your preference.

In this example you can see that, if I person bought a $30 program (credit-price=30000) they would be allocated a amount restrict of 512k/128k, whereas a $90 buy would get a 2M/128k restrict.

Title : automated rate boundaries to user-manager accounts.Description : This has been described and published in a number of locations now however I’d like to publish a duplicate here also in the occurrence that ...