Hotspot passthrough MAC address

I need to add some MAC addresses that bypass the hotspot captive portal.


but when I type the command:

/ip firewall mangle
add src-mac-address=00:01:01:01:01:01 action=passthrough mark-flow=hs-auth \ comment=“mark packets from Joe Smith as authenticated” disabled=no

I get this message:
no such argument (mark-flow)

I am guessing there has been a change with RouterOS 2.9 and this command.

Can someone point me in the right direction?

Cheers

2.9 HotSpot provides MAC-authentication method, that allows to use client’s MAC-address as username, and client immediately authenticated in HotSpot, when HotSpot identifies client presence.

Mac Authentication has some weird quirks, so unless you need some radius specific return attributes like rate limiting, I would use IP bindings, you can actually just put in a mac address and any IP that is bound to it will pass traffic.

Thank you for your help.

IP Bindings work a treat!

Hello all! I have a little problem with our hotspot. I want to create a autologin for my wireless notebook with the mac adress. Where or how I can do this in the settings? I use WinBox 2.9.39 for the hotspot management. I have created a user with username “user” and no password. Mac-adress is activated in the user settings. Now, I must do a login at the start page with my username and password, but i don´t want this. I will autologin only with mac adress. I hope you can understand my problem. I am german and learn english at the moment…please help!

  1. Set ‘ip hotspot profile set used_profile_name login-by=mac’;
  2. Add clients mac-addresses to ‘ip hotspot user’ table, in the followig manner:
    ‘ip hotspot user add name=xx:xx:xx:xx:xx:xx’, where xx:xx:xx:xx:xx:xx is client’s MAC-address.

set simply a IP-binding thing for the host and in this activate you type: Bypassed and is finished “autologin”

in German:

setze einfach ein IP-Binding für den Host und in diesem aktivierst du Type: Bypassed und fertig ist das “autologin”