Hello everyone, welcome to Mikrotik tutorial. Today we will learn how to
manage hotspot users with the user manager.
What is user manager ?
user manager is a management system that can be use for hot spots user PPP, DHCP,
wireless and routerOS users.
Requirement: You should have the same version of
router OS and the user manager packages.
The Mikrotik user manager works on x86 and MIPS processor based routers but it does not support ARM based routers.
The router should have at least 32 megabytes of RAM and 2
megabyte free hard disk space.
please go to my critic come to download these extra packages
now we are in my port site. please go to the software section
scroll down there you can see the main package and extra package
but all extra package does not contain is your manager especially ARM based routers
doesn't support user manager. I have a CCR Router so I am going to download
extra package for the CCR. before downloading the extra package please
update your routerOS fast then download the relevant extra package
download is in progress. here is the downloaded .zip file. extract it,
here is the usuermanager.npk file. log into your mikrotik router with win-box. go to the file
drag and drop the .npk file
then go to system and select reboot, it will restart the router and
install user manager.
I have login to my router with inbox
first have a look at out network setting. in this tutorial I am assuming that you have basic idea
about routing and nat configuration. I have two internet source ether1 and
ether2. I have configured it as fail-over. ether7 is the LAN interface
to configure hot-spot server, please go to IP hotspot, select server tab select plus
sign to configure new hotspot server, I have already configured a hotspot
server let's view it closely, give a relevant name and select LAN interface
select server profile tab double click to open default profile go to login tab
and select HTTP CHAP select radius tab select is radius. Keep all other sitting as
default, then we need to configure radius server. Double click on default hotspot setting
check the hotspot, Type loop back IP address and shared secret. Shared secret
is like a password, remember it. Because it will be required while setting user manager.
open new terminal and execute following command to create user manager subscriber.
open your web browser type your public IP/userman it will
prompt you for username and password. use your subscriber username and password to login.
you can add new router Here I am showing existing configuration. enter your
router name loopback IP address and shared secret that we have configured earlier.
let's create some profile here. profile is required to tag with users and profile
need limitations. so let's create some limitation first.
now I'm going to create a new limitations called 4 Mbps. With this
limitation user we'll be able to use Internet at the rate of 4 Mbps peed (bandwidth)
both upload and download and priority will be medium. click here to create a
new profile give a relevant name in this case it's 4 Mbps.
click there to add limitations. in this window we can configure allowed days and time period
and speed limit (bandwidth). I am allowing of this user to use internet all over the week
except Sunday and time period will be 24 hours and sped limit (bandwidth) 4 Mbps.
finally create a user and tag a profile with it. I am creating a user name TEST.
select a profile
we can keep additional information of the user like first name, last name, phone
number, email address. you can bind IP address and MAC address of the user, if
you don't know the MAC address click here the system will automatically bind
IP address and MAC address when the user first login.
We have finished all configurations. change your PC gateway to router LAN IP.
Try to browse any website if everything is OK then you will get hotspot authentication page like this.
Enter username and password and enjoy