Community discussions

MikroTik App
 
User avatar
own3r1138
Long time Member
Long time Member
Topic Author
Posts: 680
Joined: Sun Feb 14, 2021 12:33 am
Location: Pleiades
Contact:

Radius OCSERV to user manager ROS 7.1

Tue Dec 21, 2021 1:35 pm

Hello,
Is this possible to radius ocserv https://ocserv.gitlab.io/www/ Wih the new user manager. This attributes list is compatibale ?


https://github.com/openconnect/ocserv/b ... -radius.md
Last edited by own3r1138 on Wed Dec 22, 2021 4:15 pm, edited 1 time in total.
 
User avatar
own3r1138
Long time Member
Long time Member
Topic Author
Posts: 680
Joined: Sun Feb 14, 2021 12:33 am
Location: Pleiades
Contact:

Re: Radius OCSERV to user manager ROS 7.1

Wed Dec 22, 2021 3:43 pm

Okay, Let's just say it works.

OCSERV NOTE
Note, that ocserv since 1.0.0 does not provide the 'NAS-Port' attribute to server. In the previous versions the NAS-Port value was corresponding to the worker process ID (PID), which changed on client reconnect (e.g., due to roaming). That caused accounting problems, and as there is no notion of ports in ocserv, it is no longer sent. This breaks the default configuration of freeradius servers which assumes that the NAS-Port is sent. To make ocserv authentication and accounting work with freeradius, you must configure the server not to account NAS-Port by removing the NAS-Port attribute from the acct_unique section.
I can not get around this part, Is this achievable via UM?
you must configure the server not to account NAS-Port by removing the NAS-Port attribute from the acct_unique section.
--------------------------------------------
update
close session doesn't work. also, start when in profile attribute.

Can't disconnect session. NAS not responding. Closing session anyway with reqId: 61

Untitled-1-f copy.jpg
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 9 guests