Restrict particular internet traffic depending on the time of the day

I would like to implement rules that limit internet traffic (a kind of parental control) e.g. youtube.com to only a few hours a day (e.g. allow youtube from 17:00 till 21:00) for some devices. The allowed devices to have unrestricted internet traffic 24/7 will be identified by MAC address. How can this be done with Lede?

cron+iptables, cron for shedule, iptables for blocking/unblocking

1 Like

So you're basically looking for that description?
https://lede-project.org/docs/user-guide/parental-controls

I found it by searching for "parental control lede" via Google. First hit leads to "Reasons to use LEDE" which names "parental control" in its section about "extensibility".

1 Like