Hi folks.
I have a Netgear R7800 and just installed OpenWRT on it to try to do this. Not sure if it can be done.
What I am trying to do is basically set one device group to turn off/block wifi OR Internet at like 10PM and turn it back on at 10AM. While a second group remains open/online.
I was thinking there might be a way to do this by turning off/on wifi for all devices that are given dhcp leases but not turning it off for those with static IP's not in the DHCP pool.
So far i'm not finding any way to meet this functionality.
Another thought I have is maybe seperate the devices by putting some on one SSID and some on another SSID, and maybe there is a way to schedule the on/off for the specific SSID only?
Anyway, not sure if it's possible but thought someone here might know of or have an idea of what I could do to accomplish this.
I have the latest version of OpenWRT but have so far not installed any additional packages.
Ideas? Thoughts?
Thanks
You can use ipsets
to specify one or more groups of ip addresses, the. Use those groups as the source ips in time based firewalls. Keep in mind, though, that this will probably not work for a moderately tech savvy user who may try to circumvent the time restrictions - they would simply change the ip address of their device and be back online. So the efficacy here will depend on the application/user.
The other way (you mentioned) would be multiple ssids. This can be done with a single network/subnet, but with two ssids with different passwords. Give all devices the credentials for a given ssid based on the time restrictions desired, and have the ssids turn off using WiFi scheduler. Make sure the devices in question don’t have the credentials to connect to another ssid.
Ah nice. I hadn't thought of using firewall rules. Was too focused on trying to do this more like a filter. Actually, thinking about it now, I can combine both methods in this case, so it would be "filtering" by IP address and then seperate SSID's would reinforce it in the case of a changed IP.
Thanks much for your input, I believe this should work quite nicely once configured.