Community discussions

MikroTik App
 
Yordan1
newbie
Topic Author
Posts: 28
Joined: Fri Aug 04, 2017 9:38 am

Allowing only specific clients on Virtual WiFi ?

Mon Jun 20, 2022 12:48 am

Hello.
I have a Virtual WiFi which is using old type encryption (WPA) since i am connecting to it some micro controllers, and i wish to allow only specific ones to connect to it.
( i have the MAC addresses of the controllers )
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
Joined: Thu Mar 03, 2016 10:23 pm

Re: Allowing only specific clients on Virtual WiFi ?  [SOLVED]

Mon Jun 20, 2022 8:28 am

Under /interface wireless access-list add rules something like this:
/interface wireless access-list
add interface=<Virtual WiFi> mac-address=XX:XX:XX:XX:XX:XX action=accept
add interface=<Virtual WiFi> mac-address=YY:YY:YY:YY:YY:YY action=accept
add interface=<Virtual WiFi> action=reject

Rule order does matter, so make sure the reject rule comes after all the accept rules.
 
Yordan1
newbie
Topic Author
Posts: 28
Joined: Fri Aug 04, 2017 9:38 am

Re: Allowing only specific clients on Virtual WiFi ?

Mon Jun 20, 2022 9:28 am

Ohhh.. I see now. Tank You mkx !

btw.. is there some what these MAC addresses to be in some list ?
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: Allowing only specific clients on Virtual WiFi ?

Mon Jun 20, 2022 9:37 am

is there some what these MAC addresses to be in some list ?
No, each /interface wireless access-list row can only refer to a single MAC address.

If you switch to CAPsMAN, the /capsman access-list rows can match on MAC address prefixes (such as 98:03:00:00:00:00:00/FF:FF:00:00:00:00), but switching to CAPsMAN for this sole reason doesn't seem worth it to me.
 
Yordan1
newbie
Topic Author
Posts: 28
Joined: Fri Aug 04, 2017 9:38 am

Re: Allowing only specific clients on Virtual WiFi ?

Mon Jun 20, 2022 10:24 am

I see.. Well.. the one-by-one is then.
Thank You sindy ! :)

Who is online

Users browsing this forum: Ahrefs [Bot], CGGXANNX, GoogleOther [Bot] and 56 guests