Mikrotik i FreeRADIUS

Hi,

I have RouterOS 5.20, I configured the openvpn and pptp server. Accounts authorize by freeradius.
User creates an account throught w the web. From web, accounts are forwarded to freeradius.

I would like use inform freereadius that user1 use openvpn and cant’ connect as pptp client and user2 use pptp and can’t connect as openvpn.
Now user1 and user2 can use both type of service. I cant set it on local microtik database but I have to use freeradius as AAA.

I know that I have to set freeradiusie attribute but is it possible and how would I do that?

Can you use PPPoE and the setting for one connection per host?

Otherwise you will probably want to change the freeradius queries to set and maintain values in the database. Interesting queries would may be postauth, authorize_check and the accounting start & stop queries… However this all depends on how your using freeradius…