Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to block YouTube access from 1 client.

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 3 Posters 296 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lmannyr
      last edited by lmannyr

      I created aliases using "DNS Lookup" for www_youtube_com and youtube_com.

      Then I added the rule as seen in the picture. Changes were applied. Also reseted states.
      But I'm still able to access youtube from 192.168.1.15.

      What am I doing wrong? Why isn't youtube being blocked?

      Screen Shot 2020-08-29 at 8.32.06 AM.png

      Screen Shot 2020-08-29 at 8.38.58 AM.png

      A 1 Reply Last reply Reply Quote 0
      • A
        akuma1x @lmannyr
        last edited by akuma1x

        @lmannyr It's generally been considered very difficult to block or reject the major internet players, since they have CDN servers that spread their content across the globe. It is difficult to track down and keep track of these servers by IP addresses. Long story short, this might not work anyway...

        So, keeping that in mind, I believe you made the wrong choice in the dropdown for Type -> Network(s). I believe you want to use Type -> Host(s). Give that a try and see what happens. You might have to retype your IP list, but I'm not too sure.

        Jeff

        1 Reply Last reply Reply Quote 0
        • P
          PM_13
          last edited by

          Here is a video that describes using pfblocker that uses DNS for blocking.

          https://www.youtube.com/watch?v=QwFpMwXEK5w

          But the same video (around 5:40 mark) also states that Google Chrome/Android proxies its own DNS server over Google protocols so there may not be a fail safe mechanism to block YouTube.

          Good luck and please share if you find a mechanism to block YT.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.