I am building an application using php and javascript, this app will help my ISP to manage their routers.
Why am I building this App:
In my area, ISP uses Mikrotik routers with Winbox. Winbox is a software that manage microtik using windows.
My approach is to build a web application that will ease their work.
For the local ISP, here are the following functions needed to be done:
- For a new user, you have to create a new IP.
- If the bill is not paid, block that user.
- Managing the bandwidth issues are difficult to configure.
I want to make those tasks more easier using a new app.
Requirements:
- Creating and assigning the IPs automatically
Automatically managing the bandwidth using some builtin commands
On entering the paid bills number, user will automatically blocked(who have. Also, if the bills are paid, the numbers automatically unblocked by just entering the number in paid list.
Making simple graphs to show the used bandwidth.
Saving and maintaining client details
Automatically calculating the bill using parameters as downloaded data against busy & low-traffic times.
Blocking websites at specific IPs
Right now, I am able to do few features and rest can’t be implemented.
Problems I am facing:
Doesn’t know how to connect Mikrotik router using web. If I am able to access the router using IP, still can’t assigned new IP on the stored IP data.
What I have figured out, so far:
I am thinking about making a vlan, I will be able to access the router using ssh or telnet but still don’t know how to solve the problems mentioned above.
Last but not least, while doing the blocking. Most of the people does not want their children to watch things related to military near their home and want to block, it is http://militarybases.co/directory/naval-postgraduate-school-navy-base-in-monterey-ca/, if you are living near Los Angeles.After blocking, I wasn’t able to to unblock url like <— that one.
If there are any built in library that can help to convert RouterOS to a more friendly-one, by using RouterOS at the base. I suppose, it will simplify my task altogether.
Thanks,