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

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

blocking youtube

Discussion in 'Asuswrt-Merlin' started by clvk07, Jan 10, 2019.

  1. clvk07

    clvk07 Regular Contributor

    Joined:
    Oct 13, 2012
    Messages:
    197
    Is it possible to block youtube in a particular device only (TV) ? cant find what I am looking for in parental control/dns filter
     
  2. Zastoff

    Zastoff Senior Member

    Joined:
    Nov 21, 2017
    Messages:
    264
    You can try in Ai-protection/parental control add your TV mac-adress and test to block the media option Internet radio and TV and streaming and see if that works
     
  3. clvk07

    clvk07 Regular Contributor

    Joined:
    Oct 13, 2012
    Messages:
    197
    yes but it also would block amazon/netflx which I don't want to...
     
  4. Bamsefar

    Bamsefar Senior Member

    Joined:
    Oct 11, 2014
    Messages:
    242
    I guess you could write some firewall rules and block IP's that belongs to Youtube?

    I did a fast google search, and found this site that lists the most common IP's related to Youtube:
    https://www.lifewire.com/ip-address-of-youtube-818157

    Now add all them to the GUI firewall "Network Services filter" with the source IP from you TV, and destination IP from the list above.

    Not the easiest way, maybe a bit ugly, but it will work.
     
  5. clvk07

    clvk07 Regular Contributor

    Joined:
    Oct 13, 2012
    Messages:
    197
    Will try thanks
     
  6. clvk07

    clvk07 Regular Contributor

    Joined:
    Oct 13, 2012
    Messages:
    197
    No luck, I found the IP addresses but it doesn't seem to block them. (added the source IP of the TV and destination of youtube leaving port blank)

    Fron the log connections, seems it uses port 443 and networservices filter information seems it cant block 443

    The traffic that uses port 80 will be blocked (but https can not be blocked).
     
  7. Zastoff

    Zastoff Senior Member

    Joined:
    Nov 21, 2017
    Messages:
    264
    Last edited: Jan 11, 2019