Add Block button next to DHCP Lease

Started by bunchofreeds, March 03, 2024, 09:57:41 PM

Previous topic - Next topic
Hi,

Any thoughts on adding a 'Block' button next to the 'Add Static Mapping' and 'Delete' buttons in the DHCP lease section?

For when my kids piss me off and I want to quickly block their access for a specific MAC at that time.
And then an unblock for after they apologise.

lol

I'm sure it would have other uses..

dhcp leases are unrelated to "access". If this was to be implemented, the button would have to apply an action on another service that "blocks access" i.e. create a firewall rule, disable DNS for it, preventing it from getting a dhcp lease, etc. And what about devices that randomise the mac?
All in all, I hear you - have a "punish" button :) -

Yeah I was thinking a Firewall rule created for that specific MAC on 'block'.
And then removed on 'unblock'.

I agree on the randomisation of the MAC, but it would probably still work for the purposes of a 'Block' for an amount of time (Hours).

https://source.android.com/docs/core/connect/wifi-mac-randomization-behavior

If I read this right then it could be circumvented easily, but would be annoying to do so, and then just blocked again. lol

Probababy won't progress past this chat :)

you can already create an alias for the mac. Create a block rule that is disabled and only enable it when required.
Best is to take the device off their hands. Most of the time they'll just disable wifi and use mobile phone network.
A parent I know used to take the power cord away from the devices that weren't "mobile".