Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Add Block button next to DHCP Lease
« previous
next »
Print
Pages: [
1
]
Author
Topic: Add Block button next to DHCP Lease (Read 658 times)
bunchofreeds
Full Member
Posts: 203
Karma: 11
Add Block button next to DHCP Lease
«
on:
March 03, 2024, 09:57:41 pm »
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..
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Add Block button next to DHCP Lease
«
Reply #1 on:
March 03, 2024, 10:47:04 pm »
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
-
Logged
bunchofreeds
Full Member
Posts: 203
Karma: 11
Re: Add Block button next to DHCP Lease
«
Reply #2 on:
March 03, 2024, 11:29:21 pm »
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
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: Add Block button next to DHCP Lease
«
Reply #3 on:
March 03, 2024, 11:41:07 pm »
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".
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Add Block button next to DHCP Lease