Page 1 of 1

Would you be interested in...?

Posted: Sun Mar 08, 2015 3:41 pm
by Znuff
I made a simple client administration interface for networks which use dhcp. Here are some pics of it in action:

Full Client List: Image

Filtering works by typing anything in the search field (can it be mac address, name, ip, dhcp-server name etc.) Image

Clicking the MAC address allows you to change the name (comment) and MAC address of a lease (client):
Image

And you also get a pretty notification on the bottom of the screen when you do it!
Image

Clicking the Block/Unblock button will block the internet access for that specific user (they will be redirected to a page informing them they didn't pay their bill)
Image Image

You can also go straight to the blocked client list if it's easier for you:
Image

Do you want to add a client?
Image

Also a video! https://gfycat.com/PoliticalAnchoredDaddylonglegs

Client was added (shitty pic, I know)
Image
Image
Image

Did I mention it's fully responsive and you can use it on your phone (in browser)? Look at the menu!
Image

This is, again, the client list, but collapsed to fit on your phone's screen:
Image

And you can expand it!
Image

Ofcourse, you can also do the same operations on mobile, too
Image
Image

--

Oh, and the client gets this:

Image

Image

Re: Would you be interested in...?

Posted: Sun Mar 08, 2015 3:47 pm
by Znuff
My scenario assumes the following:

- All your customer leases are on a single machine (we have a main gateway/server).
- You are not using a transparent proxy (I am using this to redirect the clients to the "block" page)
- Your clients are using fixed IPs (but assigned through DHCP)

--

The webinterface is made with PHP and it uses the a modified RouterOS PHP Class ( http://wiki.mikrotik.com/wiki/RouterOS_PHP_class ) library.

It doesn't use ANY kind of database. All the information is loaded on the fly from the router. This means that every time you click a button, your action is reflected on the router that you are connected to.

--

Other info: the language is partially romanian/english, I didn't bother refining this, sometimes I wanted to do it in english, sometimes I wanted to do it in Romanian, so... meh.

This was only tested in Chrome. I don't care for Firefox or other browsers, I don't use them and I can't be arsed to test in it. SHould work just fine in any modern browsers, though. It's javascript heavy, of course, and it could have a horrible performance on low end mobile phones / tablets.

The HTML framework used is Bootstrap with the United theme.

Re: Would you be interested in...?

Posted: Sun Mar 08, 2015 5:42 pm
by troffasky
A sort of simplified web management interface for RouterOS? [Unifi for RouterOS, lol].
I like the idea.
In my not-so-humble opinion, Mikrotik shouldn't be trying to replicate Winbox in Webfig, the Webfig should be simpler and cut down, and those who want to get down and dirty with the config can use the CLI or fire up Winbox.

Re: Would you be interested in...?

Posted: Sun Mar 08, 2015 6:06 pm
by boen_robot
You forgot to put a link to the actual app.

Re: Would you be interested in...?

Posted: Sun Mar 08, 2015 8:32 pm
by Znuff
No link, software is not "ready" for anyone else yet :)

Re: Would you be interested in...?

Posted: Sun Mar 08, 2015 11:40 pm
by Clauu
Hm interesant bravo :) Asta ar merge pe la hoteluri pensiuni etc unde se plateste accesu la internet si exista routere mikrotik vezi ce reclama iti faci :)
Interesting, nice and cleaner ui

Re: Would you be interested in...?

Posted: Mon Mar 09, 2015 12:08 am
by InoX
ar merge pe la hoteluri pensiuni etc unde se plateste accesu la internet
Not quite. For that is better to use hot spot feature. This is good for ISP.

Re: Would you be interested in...?

Posted: Sat Oct 28, 2017 3:52 pm
by mohsinskynet6676
can i get this for learning purpose ?

Re: Would you be interested in...?

Posted: Fri May 18, 2018 5:14 am
by machack
Hi, can i get to try? and learn?

thanks in advance