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

    Youtube blocking

    Scheduled Pinned Locked Moved pfBlockerNG
    9 Posts 5 Posters 1.9k 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.
    • S
      shkiber
      last edited by

      In this hello, recently there was a need to block youtube in the office.
      And then I decided to use the pfblockerng dnsbl package tool
      added dns address to existing one
      a group of blocked sites but that's bad luck youtube stopped pinging but youtube still opens on users' devices.
      Tell me the recipe for blocking youtube with the ability to configure exceptions.

      P F L 4 Replies Last reply Reply Quote 0
      • P
        Patch @shkiber
        last edited by Patch

        @shkiber have you tried blocking the autonomous system number (ASN) for face book as well?

        1 Reply Last reply Reply Quote 0
        • S
          shkiber
          last edited by

          facebook is blocked for me only through the browser I want to find solutions for applications on smartphones in the future

          1 Reply Last reply Reply Quote 0
          • S
            shkiber
            last edited by

            my head hurts only about youtube because the blocking of this platform does not work correctly

            1 Reply Last reply Reply Quote 0
            • P
              Patch @shkiber
              last edited by Patch

              @shkiber said in Youtube blocking:

              dnsbl

              DNS blocking only works if a device uses pfsense as the DNS. You can try to force all devices on you network to do that by trying to block alternatives.

              The alternative is to block all of face book and Meta Platforms IP addresses. That is what ASN can help you with. See https://www.cidr-report.org/as2.0/autnums.html

              S 1 Reply Last reply Reply Quote 0
              • S
                shkiber @Patch
                last edited by

                so I need to set up dns on pfsense

                1 Reply Last reply Reply Quote 0
                • F
                  FrankM @shkiber
                  last edited by

                  @shkiber

                  According to the pfSense (pfS) docs at;

                  https://docs.netgate.com/pfsense/en/latest/recipes/dns-redirect.html

                  this should direct all user DNS requests through pfS.

                  As for the youtube block, sorry I can't help you there.

                  Take Care and Enjoy!

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • L
                    Loyrtiuas @shkiber
                    last edited by

                    @shkiber slope io said in Youtube blocking:
                    I want to know about the pfblockerng dnsbl package tool you use

                    1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @FrankM
                      last edited by

                      @frankm said in Youtube blocking:

                      As for the youtube block, sorry I can't help you there.

                      I found out something lately.
                      As we are all using "pfBlockerNG", I had to "play" with this 'audio video' option :

                      e7f917aa-ceab-4652-9932-77038a509d28-image.png

                      See here to make that option work again :

                      https://forum.netgate.com/topic/176492/pfblockerng-devel-v3-1-0_9-v3-1-0_15/14?_=1672127400173

                      it resolved the issue for me™, and left the option activated (selected).

                      Later on, somewhat during Christmas or so, I discovered that the Youtube app was working just fine on my Phone, but the app wouldn't play any videos ... A non-wanted WTF moment kicked in.
                      Then I remembered I was asking pfblockerng to filter 'audio video' sites.
                      I de selected that option + force reload , and done, Youtube worked again.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

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