saludo mr freemannn!
when you block a mac address in firewall filter (forward and input chain) you block internet access and not dhcp lease.
/ip firewall filter
add chain=input src-mac-address=aa:bb:cc:dd:ee:ff action=drop
add chain=forward src-mac-address=aa:bb:cc:dd:ee:ff action=drop
if you want to block dhcp lease....
1. set a dynamic lease to static lease "make static".
2. tick "block access" to static lease. restart the router (or wait that static lease to expire) and the specific mac address will not get address from dhcp.
both are working for me in my vmware test machine. i just test them.
i have done this many times to my customers.
tested this with mac address then ticked block address, works pretty good. the firewall immediately catched the user!
making the user ip static, tick block access, add to blacklist, quickly catches the user ea time user starts to come back in, or by deleting user lease, it will catch the user. but to make it quick, restart the router which i dont recommend.
ticking block access will also deny its wifi access within the same LAN/Network
i was testing with my iphone, so how do i make it dynamic again? the menu says nothing to return to dynamic.
found out - deleted from the lease, went back to D
Now, is there also a way to create a whitelist for say for all admin devices such as; pc, tablet, smartphone, etc etc.
I can probly just change the code to create a "WhiteList" address list and apply above rules to accept. it should work but let me try!
thanks,