Community discussions

MikroTik App
 
frankpp
just joined
Topic Author
Posts: 6
Joined: Fri Apr 08, 2016 10:03 pm

ACL for one Client is not working

Wed Jan 24, 2024 12:49 pm

Hi,

I'm trying to deny acces for one client only if the signal strenght is below a specific point.
 ;;; IPhone Frank
     mac-address=XY:64:BA:ZZ:9B:YY interface=wlan1 signal-range=-40..120 allow-signal-out-of-range=5s
     authentication=yes forwarding=yes ap-tx-limit=0 client-tx-limit=0 private-algo=none private-key=""
     private-pre-shared-key="" management-protection-key="" vlan-mode=default vlan-id=1
But this device ist still connecting to this Acces point, even RSSI is below -40dBm.
All other clients should not be affected by an ACL rule.

thanks

Frank
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2994
Joined: Mon Apr 08, 2019 1:16 am

Re: ACL for one Client is not working

Wed Jan 24, 2024 1:43 pm

Well at least you need two settings. The allowed access will not be stopped, if there is no deny ACL rule (interface general rule or specific for this MAC)

By default the interface general rule is allow (authenticaion=yes).
As you want to deny acces for one client only, when power is low, then a specific (authentication=no) rule for that MAC is needed, besides the allow rule you already have, with it's signal out of range timer.
The interface rule can stay to allow the other devices.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12014
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: ACL for one Client is not working

Wed Jan 24, 2024 1:52 pm

Remove that rule, paste this one below into the terminal, then replace the fake address with the correct MAC address:
/interface wireless access-list
add authentication=no interface=wlan1 signal-range=-120..-41 mac-address=DE:AD:BE:EF:00:00

Who is online

Users browsing this forum: No registered users and 6 guests