Community discussions

MikroTik App
 
andreas140265
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Tue Jan 15, 2013 4:57 pm
Location: Greece

Auto disconnect old connection when new connection exceeds "shared-users"?

Mon Feb 08, 2016 11:16 am

OBJECTIVE : Need to auto-disconnect the oldest connection of a user with multiple shared-users, in order to allow new connections for this user without prompting "simultaneous session limit reached for user........"

Any ideas?

My idea is to write a login script and put it into the hotspot user-profile (On login).
My problem is that I don't know how to retrieve info(variables like shared-users) from User Manager,
because it is located on another unit, different from the one that the Hotspot runs.
Any ideas how to retrieve remote info?

TIA
Andreas K.
 
Miracle
Member Candidate
Member Candidate
Posts: 106
Joined: Fri Sep 11, 2015 9:04 am

Re: Auto disconnect old connection when new connection exceeds "shared-users"?

Wed Feb 17, 2016 6:17 pm

My idea is set shared-users = n+1 then write script kick the oldest user when number clients reach n+1

Who is online

Users browsing this forum: No registered users and 6 guests