How To Setup User Manager Settings with Mikrotik Hotspots

This article will discuss how to build integrated user management into one in the user manager by using 2 different Routerboard devices where each of these Routers has a hotspot service system, for the topology as shown in the picture below

From the topology above, Router B is connected to Router A where each one uses ether 3, then for Router A and Router B each has a hotspot system installed, for Router A using HotSpot Interface ether 2 and Router B uses wlan 1, like the one It has been explained previously that we will integrate the two hotspot systems using a user manager, where the user manager has been installed on Router A, before proceeding further, the User manager and Hotspot system installation will be explained.

We can access the user manager from the web browser with the address http: // ip-router / userman

Installing Radius on Hot Router A and Router B
After the User Manager package has been installed and the Hotspot System is running, the next step is to do the integration using Radius Server
Configuring the Hotspot
 
Enter the IP Hotspot Sever Profiles menu, select hsprof1, check the Use Radius parameter, then click the Apply button

The next step select the Radius menu, then click Add (red (+) button) because we use the Hotspot check parameter “Hotspot”, then specify an address and screet

  • If the hotspot and Radius Server are still in one router, we fill in the Address with “127.0.0.1”
  • Fill the screet with a unique key combination for example: 123456

To integrate the hotspot on Router B with the User manager on Router A, the method is as follows:

  • For Router B because it functions as a Radius Client, fill in the Address with ip parameters that are one segement with Router A (IP Gateway Router A), if it matches the topology then the Address that is filled in is “192.168.5.215”
  • Fill in the secret with the Key combination, it can be different from Router A or it can be the same

Install the Radius on the Router A User manager

The way to configure it is to enter the User manager page using a web browser application with the address http: // 192.168.5.215/userman

The next step is to log in to the username page, by default for username “admin” and blank password

Add in the “Routers” menu to connect the Radius to Router A with the user manager, click Add select New then fill in the following parameters

  • Fill in the Name parameter with the name routerA
  • because the Radius on Router A and User manager is contained in one router (Router A) then fill in the IP Address with “127.0.0.1”
  • Our shared secret matches the secret parameters in the Radius menu
  • If you have pressed the Add button

Also add in the “Routers” menu to connect the Radius to Router B with the user manager installed on Router A, click the Add New option then fill in the following parameters

  • Fill in the Name parameter with the name of the routerB
  • because the Radius on router B is not directly connected to the User manager who is in Rouer A then fill in the IP Address of one segment (direct connect) with Router A, according to the topology described earlier for our IP Address set “192.168.5.223”
  • then for Shared secret we adjust the secret parameter in the Router B Radius menu
  • If you have pressed the Add button

The next step then select the Profiles menu Profiles tab to determine the limitation that will be given to each user

determine the limitation that will be given to the user, select the Profiles Menu tab Limitations then specify the value of Uptime, Download, Upload and so on

The last step is to give internet access rights to the client that is under Router A and Router B, we can add it to the Users menu in the Add tab, for example

  • For Router A client Username: User2, Password: User2, Assign profile: 1 hour
  • As for the client that is under Router B we create Username = User3, Password = User 3 then for Assign profile = 1 hour

Leave a Reply

Your email address will not be published. Required fields are marked *