Assistance Needed: Blocking Internet Traffic with Exceptions for Google Services

Dear All,

I need assistance in blocking all internet traffic for specific IPs (e.g., kids' devices) during certain times, while still allowing access to Google's services (e.g., Classroom, Meet, Drive, and Gmail).

I have tried some configurations suggested by ChatGPT, but none of them worked as expected. Could anyone provide a working solution?

Additionally, I noticed that Google services utilize a wide range of dynamic IPs, which can be referenced here:
"https://www.gstatic.com/ipranges/goog.json"

Thank you in advance for your help!

Have a look at BanIP and see if that fits your needs, I do not have experience with it myself (kids are at college)

1 Like

if the device is android try rethink open source app instead of blocking on openwrt

1 Like

Create a white list from the ranges provided earlier, using banIP, or an ipset.