1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to: Block Youtube on iPad for kids

Discussion in 'Tomato Firmware' started by Gustep, Apr 13, 2018.


Would you like a feature to limit your kid's Youtube watching on your LAN?

  1. Yes, for specific IP addresses on my LAN

    0 vote(s)
  2. Yes, with a daily bandwith allotment for Youtube

    0 vote(s)
  3. Yes, during specific times of day

    0 vote(s)
  4. Yes, but in a stealthy way: slow it down so it constantly buffers (unwatchable)

    0 vote(s)
  5. All of the above, please!!

  6. Whatever works - anything is better than nothing!!

Multiple votes are allowed.
  1. Gustep

    Gustep Addicted to LI Member

    I have a non-technically inclined 8 year old that spends a bit too much time watching Youtube junk on the iPad. I would like to block youtube for that device (which has a reserved, specific IP via DHCP), or slow it down to the point of non-usability after, say, 5 minutes, but still want to provide internet access for other apps on that iPad, like LINE.

    How can I do this in the Tomato firmware?

    I read a suggestion that I should intercept the DNS request for youtube and block it (under Advanced: DHCP/DNS), but could someone perhaps give an example? Lots of parents have this issue, you will be appreciated!

    Note: This isn't meant to be rock-solid solution which stops determined and tech-savvy users. It's only meant to stop an 8-year old. Anyone who figures out a circumvention probably earned their right to watch Youtube...

  2. Sean B.

    Sean B. LI Guru Member

    Put this in the custom config box under Advanced->DHCP/dns:

    This will point DNS queries for youtube.com and any of its sub-domains ( www.youtube.com, something.youtube.com etc ) to the loopback IP address. This will affect all clients that receive DNS query responses from the router. If you need to single out the one ipad only, or have some sort of simple on/off control for it, give me a detailed description of the requirements and I'll write a custom script if possible.
  3. Gustep

    Gustep Addicted to LI Member

    Thank you, this works acceptably for now. Yes, ideally I would like this to only apply to a specific IP address, say, but since I couldn't figure out how to do that, I used that command on a Tomato router that's exclusively providing wifi to guests and and kids - so a blanket youtube block on that device is ok for now.

    How difficult would it be to make this command applicable to specific IP's only?

Share This Page