Monday, May 20, 2013

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-manager" in www.mikrotik.com / download. Select the package, according to the Mikrotik version you are using. If you are using a Mikrotik with package the old version, you can download the old version of the package in http://files.shelbybb.com/mikrotik/ or http://204.62.56.64/mikrotik/
3.      Open Winbox, then click user-manager.npk package already downloaded, and drag it to the Winbox. File 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.

Reference : http://wiki.mikrotik.com/wiki/Manual:User_Manager


34 comments:

  1. dear nadia,

    saya sudah sampai tahap yaang anda tulis diatas tapi begitu waktu tes satu user keterangannya "RADIUS Not responding" di login menu juga di log, kira2 apa yg salah ya?terima kasih

    ReplyDelete
  2. udah ketemu permasalahannya ada pada Nat WAN sama user manager yg blm diberi profile :D

    ReplyDelete
    Replies
    1. sipppzzzzz.... mantapzzzz...
      ingat, karena berkaitan... sebelum baca posting ini....
      baca dulu yang ini... http://myconfigure.blogspot.com/2013/05/configure-mikrotik-as-hotspot_9254.html.

      Delete
  3. ब्लग निर्मातालाई मेरो सलाम ! यो ब्लग मैले भर्खर मात्र हेर्ने मौका पाए । मलाई लाग्छ, यो ब्लग निकैनै उपयोगी हुने निश्चित छ ।

    ReplyDelete
  4. Wow U can't imagine how long i struggled with router OS to see whats wrong with my Router Built-in RADIUS! just a little Goddamn CHECKBOX (RADIUS -> incoming -> accept) :D

    thanks u just saved my life ;)

    ReplyDelete
  5. Dear kawan,
    kenapa ya jika saya login hotspot menggunakan user buatan dari user manager selalu error
    "invalid password" tapi jika login menggunakan user hasil buatan manual dari mikrotik ok.
    adakah masukan dari teman teman?

    thanks,

    ReplyDelete
    Replies
    1. artinya belum betul caranya bos... cara membuat user manager, baca dan ikuti langkah2 di atas dengan hati2... :)

      Delete
    2. klu pakai 2 router mesti add dulu router A dan B biar bisa sinkron

      Delete
    3. Kemungkinan ada nama user yang sama yang dibuat secara manual dengan yang dibuat melalui userman

      Delete
  6. i have some problem with User Manager. it's not allow me login and alway show message 'Raduis not response". i already try this instruction. could anybody help me? My router RB1100ahx2

    ReplyDelete
  7. Please upload video file. Thank U Very Much

    ReplyDelete
  8. Replies
    1. Hi I have proplem
      when I restart my routerboard 1100 the radius not respond for 30m and the users in radius cant login but the user in hotspot work good and after 30m it work good
      so pls help me

      Delete
    2. try use internet explorer to login userman

      Delete
  9. Please upload video file. Thank U Very Much

    ReplyDelete
  10. me podrias ayudar a conectar radius con una base de datos en sql

    ReplyDelete
  11. how can i enable user to do a self sign up.

    ReplyDelete
  12. lage raho munna bhai

    ReplyDelete
  13. Thank for sharing,
    Is it possible to use the LAN ip hotspot gateway as RADIUS server ip?
    Or can we use the WAN IP gateway as RADIUS SERVER ip?

    ReplyDelete
  14. Thank for sharing
    I would like to know ,how to configure user manager for hotspot possible login time.
    For example ,user (test) must have internet from (7 am to 8 am) ,(12 pm to 5 pm). Help me Please,I am in serious

    ReplyDelete
  15. hi how I can setup user for 1 month limit only

    ReplyDelete
  16. Quantum Binary Signals

    Professional trading signals delivered to your mobile phone daily.

    Start following our signals NOW & gain up to 270% per day.

    ReplyDelete
  17. i creat users on usermanager but i cont login in hostspot page please hlep me

    ReplyDelete
  18. I do all the following steps but i can face always the radius server not responding error.How to fix the error please.

    ReplyDelete
  19. Awesome Blog. Just Reach us to play online Games!
    V7kh Blogger
    Pussy888
    Organesh Profile

    ReplyDelete
  20. Thanks and I have a super offer: House Renovation What Order house hunters renovation

    ReplyDelete