Thursday, August 19, 2010

Config User Manager On Mikrotik


In This Post, We Want To Setup User Manager On Mikrotik.
User Manager, Is Accounting Program Using Radius.
You Can Download The User Manager Package From Mikrotik Website.
Let's See, How To Config User Manager On Mikrotik:
At First, Let's Enable Radius Accounting On Mikrotik:

/ ppp aaa set use-radius=yes

And PPP Profile:

/ ppp profile set default local-address=192.168.0.1

In Which, 192.168.0.1 Is Local Ip Address, That Is Used For Example For PPPoE Server Or VPN Interface Or Etc...
And Now, Let's Add radius Client To Consult User Manager for PPP service:

/ radius add service=ppp address=10.0.0.1 secret=123456789

10.0.0.1 Is The Accounting Server Ip Address, And 123456789 Is The Secret.
 
Now, Let's Add Owner To User Manager:
 
/ tool user-manager customer add login="uman-admin" password="1234" permissions=owner
 
uman-admin Is Login Name And 1234 Is The Password.
And It's Time To Add PPP server information to router list:
 
/ tool user-manager router add customer=uman-admin ip-address=10.0.0.1 shared-secret=123456789
 
uman-admin Is The Login Name, 10.0.0.1 Is The Accounting Server Ip Address And 123456789 Is The Secret.
It's Done, You Can Access To User Manager By Using:
 
http://serveripaddress/userman

No comments:

Post a Comment