Community discussions

MikroTik App
 
MaaS10
just joined
Topic Author
Posts: 22
Joined: Tue Oct 01, 2019 3:31 pm

login only via one mac address

Tue Aug 24, 2021 9:46 am

Hello guys,
I would like to set up so that I can only log in to mikrotik via one PC, is it possible to set up some mac address filter?
Any ideas?
Thanks.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: login only via one mac address

Tue Aug 24, 2021 11:45 am

is it possible to set up some mac address filter?
Yes, it is, but it is also relatively easy to spoof a MAC address if you know the correct one.

Are we talking about wired or wireless connection? The available solutions differ.
 
MaaS10
just joined
Topic Author
Posts: 22
Joined: Tue Oct 01, 2019 3:31 pm

Re: login only via one mac address

Thu Aug 26, 2021 1:54 pm

wired connection.
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: login only via one mac address

Thu Aug 26, 2021 4:00 pm

In /ip firewall filter, you can match on src-mac-address. Depending how your firewall is organized, you may add src-mac-address=th:ep:er:mi:tt:ed to the action=accept rule that enables access to the management service, or src-mac-address=!th:ep:er:mi:tt:ed to the action=drop rule that blocks access to the management service, in chain input of /ip firewall filter.

Who is online

Users browsing this forum: Bing [Bot], d513, Kanzler, katsaplias, kosyot, Mr47, Valerio5000, VMX and 132 guests