Return Username to the Mikrotik

Bjørn Mork bjorn at mork.no
Thu Mar 17 18:20:05 UTC 2022


mohamad buvaydanı <starking123eng at gmail.com> writes:

> Thanks for replying actually ı am returning the mac to the username in
> accounting packet but i want  to do that for disconnect packet instead of
> sending disconnect packet to the mac i wanted tosend disconnect for
> username.
> Because ı have username auth and ip auth and mac auth

The radius server has all the info, Send the disconnect request there
instead of directly to the NAS, and let the radius server translate the
username into whatever session attributes the Mikrotik wants.

raddb/sites-available/coa-relay example is a good place to start.



Bjørn


More information about the Freeradius-Users mailing list