I need to create user account in mikrotik usermanager with my program. How can I access to usermanager database and edit that remotly?
Asked
Active
Viewed 4,155 times
1
-
Have you tried the RouterOS API? In which language is your program? – Andreu Ramos Feb 20 '17 at 19:50
2 Answers
0
You need to use radius server for this things. You can add server by using /radius add command.
Scheme:
Your application >> SQL >> Radius server << Mikrotik << User authentication

kgimpel
- 594
- 7
- 8
0
If you want to use User Manager you could connect programmatically vía SSH to your Mikrotik, then do
[admin@USER_MAN] /tool user-manager customer> add login="admin"
password="PASSWORD" permissions=owner
If you have a large user base it is better to set up a Radius server.

Karl
- 481
- 1
- 6
- 13