menu

Sunday, September 28, 2014

Mikrotik User Manager as Radius Server

mikrotik user manager

I continue to post about hotspot billing system. Actually I wanted to post about Daloradius. However, because still need more experiments, then I delay for a while. And now I'm posting about the "user manager" of the Mikrotik. What is a user manager? User Manager is a RADIUS server application. It is a separate package for RouterOS.

Install User Manager.
1.      Check the Mikrotik, whether user-manager existing package. Click the System – Packages.
mikrotik - package list

2.      Download package "user-managerin www.mikrotik.com / downloadSelect the package,according to the Mikrotik version you are usingIf you are using a Mikrotik with package the old versionyou can download the old version of the package in http://files.shelbybb.com/mikrotik/ orhttp://204.62.56.64/mikrotik/
3.      Open Winboxthen click user-manager.npk package already downloadedand drag it to the WinboxFile will automatically be uploaded, and can be seen in Winbox - Files list.
install mikrotik user manager
4.      Restart.
5.      Check back in the Mikrotik, with the opening Winbox, System - Packages. File "user-manager" should be shown.

Mikrotik Configuration
See previous post about making mikrotik hotspot.http://myconfigure.blogspot.com/2013/05/configure-mikrotik-as-hotspot_9254.html.  If all is ok, proceed with the following steps. Open winbox, click Radius - then click the plus sign (+) to add. Open dialog box will appear. Enter the IP address of the Radius User Manager, secret, for example : testing123, port, and check the hotspot service. Then click OK. Remember : IP address of Radius Server must IP Wan of router Mikrotik or you can enter IP localhost  (127.0.0.1)

mikrotik - radius settings


Back to Radius open dialog. Click Incoming. Check Accept, Port is 1700. Then OK.
mikrotik - radius port incoming


Then in the hotspot dialog box, click server profiles tab. Click twice hsprof1. Then the new dialog box will appear. Click radius tab. Select use radius, and accounting. Then click OK.
mikrotik - server profiles settings


Mikrotik User Manager
Finish to configure mikrotik, next open browser, and go to http://<ip-address-mikrotik>/userman. You will find login page user manager of mikrotik, enter default username : admin and blank password. Let’s begin to configure mikrotik user manager.
  • Configure Routers
Click routers – add – New.  In the new dialog box about router details, enter name, IP address, secret, and coa port. Look at example picture.
mikrotik user manager - routers settings

  • Configure Customer
For security, change password admin for login mikrotik user manager. Click customer, admin. And in customer details  box, enter  password, and other information.
mikrotik user manager - customers settings

Create a user in the "user manager", and then from the client computer browser, login using a user that has been created. If successful redirect and connect to the internet, meaning that the Mikroti User Manager has been successfully configured as a Radius Server.
Next, I will explain how to create voucher in User Manager.

20 comments:

  1. HP Laptops Produce Reliable and Enhanced Mobility You Might also like
    Today’s age is the age of information. HP Laptops

    So many things and often everything are done by way of information technology. This is happened with latest computers and especially laptops play a major role in the majority of sectors. From school students to college guys to university fellows laptops are seen everywhere. It is good to handle and easy to carry. So it has been gaining immense popularity in every sector. From doctors to engineers to other working professionals, when the time to choice personal computer, most of the people prefers a good laptop. http://hplaptop.co/

    ReplyDelete
  2. Waiting for article about custom login page on mikrotik

    ReplyDelete
  3. If we have 2 routers, how to create and join only one radius server?

    ReplyDelete