Community discussions

MikroTik App
 
Idowu
just joined
Topic Author
Posts: 5
Joined: Sun Feb 02, 2014 1:18 pm

MAC address list to grant access to ports

Wed Feb 12, 2014 1:51 am

Hi all!

Please, I will want to grant access to some services using a list of MAC addresses. When someone is to be added I just get her/his MAC and add it to the list. How do I implement this?

Diagrams or step-by-step instruction will be great! Thanks in advance
 
efaden
Forum Guru
Forum Guru
Posts: 1708
Joined: Sat Mar 30, 2013 1:55 am
Location: New York, USA

Re: MAC address list to grant access to ports

Wed Feb 12, 2014 3:29 am

Hi all!

Please, I will want to grant access to some services using a list of MAC addresses. When someone is to be added I just get her/his MAC and add it to the list. How do I implement this?

Diagrams or step-by-step instruction will be great! Thanks in advance
Unfortunately there isn't the address-list equivalent for mac-address. It only exists by IP. You could make a chain called "mac-allow" and add them all as rules and then jump to it from another chain.... but it is awkward and cumbersome. There really isn't a good way to do it.
 
Idowu
just joined
Topic Author
Posts: 5
Joined: Sun Feb 02, 2014 1:18 pm

Re: MAC address list to grant access to ports

Wed Feb 12, 2014 4:10 am

Just an idea: can one create a list of IP that can only be taken by a list of MAC, using the dhcp server. Then one can now use that IP pool as what to grant access to.

This is just an idea I am bringing from my networking experience but I don't know how to do that with mikrotik.

And irrespective of the above, I am still hoping for a cleaner solution :)
 
efaden
Forum Guru
Forum Guru
Posts: 1708
Joined: Sat Mar 30, 2013 1:55 am
Location: New York, USA

Re: MAC address list to grant access to ports

Wed Feb 12, 2014 4:13 am

Yeah.. But you could spoof that. If you did it with static arp it might work.

Sent from my SCH-I545 using Tapatalk