H

Friday, April 11th, 2025 7:18 PM

Blocking YouTube from home Router

I found it possible to block YouTube from the router, on anything that does not have cellular access.   Anything using cellular connectivity may go around your router, which is outside of the controllable zone.   Logging into the Xfinity router at 10.0.0.1/admin, using your username and pw that you have set up already (if you have not, the default on some of these routers is "admin" and "password" for the username/password.  Under the tab on the left, find parental control, and click 'Managed Sites'.  Make sure it's enabled.  Start adding in the blocked content list.  Mine is pretty long, being that Google uses a CDN that YouTube is on.  It looked something like this when I was done.

*Note

I did not know if CIDR notation (IP Ranges) worked to block all IP ranges, but I did enter them in.  I found many of YouTubes IP addresses at this lifewire site. https://www.lifewire.com/ip-address-of-youtube-818157, and then I found how to turn a range into CIDR format at this link https://account.arin.net/public/cidrCalculator.  I input several of the most common IP addresses afterwards (again, not sure if CIDR notation works for IP range blocking).  

My question to Xfinity was do you know if CIDR notation will work for IP ranges, or what is the best way to implement a block against an entire range of IP addresses?

Also I figured this might help others who are looking to do the same thing, as there were many articles I found without (out of scope) solutions in the forums.

1 http://youtube.com Always Edit x
2 http://www.youtube.com Always Edit x
3 https://m.youtube.com Always Edit x
4 https://ytimg.com Always Edit x
5 https://s.ytimg.com Always Edit x
6 https://ytimg.l.google.com Always Edit x
7 https://youtube.l.google.com Always Edit x
8 https://i.google.com Always Edit x
9 https://googlevideo.com Always Edit x
10 https://youtu.be Always Edit x
11 https://yt.be Always Edit x
12 http://youtube-nocookie.com Always Edit x
13 http://youtube.be Always Edit x
14 http://youtube.co.uk Always Edit x
15 http://youtube.de Always Edit x
16 http://youtube.fr Always Edit x
17 http://youtube.googleapis.com Always Edit x
18 http://youtube.nl Always Edit x
19 http://youtube.pl Always Edit x
20 http://youtubeeducation.com Always Edit x
21 http://youtubegaming.com Always Edit x
22 http://youtubei.googleapis.com Always Edit x
23 http://yt3.ggpht.com Always Edit x
24 http://youtubekids.com Always Edit x
25 http://199.223.232.0/21 Always Edit x
26 http://207.223.160.0/20 Always Edit x
27 http://208.65.152.0/22 Always Edit x
28 http://208.117.224.0/19 Always Edit x
29 http://209.85.128.0/17 Always Edit x
30 http://216.58.192.0/19 Always Edit x
31 http://216.239.32.0/19 Always Edit x
32 http://208.65.153.238 Always Edit x
33 http://208.65.153.251 Always Edit x
34 http://208.65.153.253 Always Edit x
35 http://208.117.236.69 Always Edit x

Official Employee

 • 

1.4K Messages

3 days ago

hopefully_blocking_youtube thank you for using the Xfinity Community Forums page to reach out. I understand that you are trying to prevent access to YouTube on your home network. In all honesty this question would be a bit out of our scope, so I wouldn't want to give you any inaccurate information. 

forum icon

New to the Community?

Start Here