Hotspo Freeradius + CoA

Hi all,

I’m working with mikrotik hotspot and freeradius 3.0.10.

I'm testing about limit session time.

At the moment I got than if the user try to login (authorization) and has over the limit session time per day, radius sends authorization error that is ok.

Now I need to disconnect user when they get over the limit session.

I read than this should be made by CoA.

What freeRadius seems to tell is that I have to activate

update coa {

&User-Name = "%{User-Name}"

&Acct-Session-Id = "%{Acct-Session-Id}"

&NAS-IP-Address = "%{NAS-IP-Address}"

}

Can someone tell if is it correct to activate CoA on accounting and which attributes I should send to mikrotik in order to deactivate the user ?


Thanks a lot !!!