Submenu level: /ip hotspot user
If auth-mac property is enabled, clients' MAC addresses (written with CAPITAL letters) can be used as usernames. If auth-mac-password is set to no, there should be no password for that users. Otherwise, the password should be equal to the username. When a client is connecting, his/her MAC address is checked first. If there is a user with that MAC address, the client is authenticated as this user. If there is no match, client is asked for username and password.
/ip firewall mangle <enter> add src-mac-address=00:01:01:01:01:01 action=passthrough mark-flow=hs-auth \ comment="mark packets as authenticated" disabled=no <enter>