I have searched extensively for a solution but have not found one. Please help me. How can I program coa-relay so that it also disconnects from the Mikrotik The sessions are different. yes but why thats happen where is the instructions ? في الاثنين، 24 نوفمبر 2025 في 9:37 م تمت كتابة ما يلي بواسطة Alan DeKok via Freeradius-Users <freeradius-users@lists.freeradius.org>:
On Nov 24, 2025, at 10:21 AM, Alexandre Le Noir <muhanadali27@gmail.com> wrote:
I have two problems that I want to solve.
1- There is a duplicate in Radacct with acctstoptime null, knowing that I linked the free radius with the microtech.
The sessions are different. See the rest of the fields in the radacct table.
2- Users are located in users.
They have a username that matches the username in Radacct and they have an expiration date.
You can always use SQL queries to close one of the sessions.
If the expiration date has passed, I want them to be disconnected from the service with coa or without, but I tried Chatgpt solutions and they did not work.
See sites-available/coa-relay
That's a virtual server which makes it easy to disconnect users. You will need to follow the instructions in the comments in that file, but it should work.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html