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

Block youtube but allow specific youtube video in our website!

pfSense Packages
4
5
3.2k
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.
  • M
    makamancha03
    last edited by Aug 24, 2016, 6:47 AM

    Hello everyone! I am new here and I need your help. I am using pfSense 2.3 and i installed packages squidproxy and squidguard proxy filter. I can block youtube using opendns or the squid itself. But my question is how to block youtube but allowing specific youtube video from our website? I saw awhile ago on how to block youtube in other forums but i dont get it  how. Need help please PM me or email me on how. Many thanks!

    1 Reply Last reply Reply Quote 0
    • M
      makamancha03
      last edited by Aug 25, 2016, 1:14 AM

      Anyone who knows this kind of stuff? Need HELP.. Many thanks!

      1 Reply Last reply Reply Quote 0
      • J
        jahonix
        last edited by Aug 25, 2016, 3:43 PM

        So you want to cut off the water to your bathroom and still want to wash your hands.
        How's this supposed to work?

        Put your own videos on vimeo and block YouTube.

        1 Reply Last reply Reply Quote 0
        • G
          GoldenShark
          last edited by Dec 20, 2016, 5:08 AM

          @jahonix:

          So you want to cut off the water to your bathroom and still want to wash your hands.
          How's this supposed to work?

          Put your own videos on vimeo and block YouTube.

          Lol , totaly right..

          OpenDNS Does not support spesific clients or something.

          If you can block youtube it is blocked. No more different chance.

          Basically Block also "movies/video rule for opendns" and create a basic video website put your own videos there.

          M 1 Reply Last reply Dec 14, 2021, 4:55 PM Reply Quote 0
          • M
            mrpushner @GoldenShark
            last edited by Dec 14, 2021, 4:55 PM

            @goldenshark Hi, I know this is old but....I want to do the same thing.

            So in Squidguard we are supposed to able to block domains or even by specific URL's. On the FLIP side of that, we should be able to whitelist by domain or by URL.

            Therefore, what if I block the entire DOMAIN youtube.com, but then WHITELIST a specific youtube video URL?

            In theory this should work fine and the only limiting factor here would be THE ORDER that the block or whitelist items are applied by the filter!

            So for example, In Squidguard if I block the DOMAIN youtube.com with a Target Category and then I also create a target category to WHITELIST the url, www.youtube.com/mymovie, then why would it not work? I can SET which target category gets applied before the other in my ACL's. I would ASSUME, last one applied wins. So any whitelist item would override the block list.

            So in this example, if my BLOCK list is followed by my Whitelist when a request comes in, Youtube would be blocked first, then ALLOWED by my whitelist.

            Unfortunately, I could not get this to work. An I have no idea of how squidguard is actually applying filters in this sense. It seems to not be allowing the Whitelist to override the Block list.

            Anyone know how these Target Category's work in a hierarchy?

            Also, if you really want a mess, apply a default BLACK LIST in Squid and then it seems that ALL the black list filters get applied last and nullify any Target categories you added.

            Its not cool, as it is very quirky and sometimes you need to reboot Pfsense to even get the filters to work at all.

            MP

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