I have a setup where I have 3 Mikrotik Hotspots setup on RB411s. I am using the IP Hotspot and each device is acting as the server and authentication hub. I am only using a single user that I am allowing to login about 30 time simultaneous. So that way I don't have to setup individual rules. Mostly I am using it for rate limiting. I am using http chap and cookie login. I would like to add a script that when a user connects to the hotspot, and then logs in successfully, I add the mac address of there computer to the http bypass page.
I know how to do some of it, but I am not sure how to get the MAC address of the client who is logged. in.
I can can the mac-address to the /ip hotspot ip-binding list and choose bypass. Please help me automate this process.
Thanks,
-Z