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

    Block Youtube but can access after a while

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 4 Posters 1.1k 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
      Shotblank
      last edited by

      I managed to block youtube thru alias and schedule. I tested blocking and unblocking. When I tried to block it again, i can go to youtube unless i clear the browsing history. Any tips to block youtube on schedule basis? i'm not using squidguard. just using the firewall.

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Youtube.com resolves to a lot of different IP addresses.  pfSense aliases are only resolved every 10 minutes or so, so what your alias holds may not match what DNS tells your browser for youtube.com.  If you really need to block Youtube then you will need squid/squidguard or pfBlocker or some other way of doing URL filtering like that.

        1 Reply Last reply Reply Quote 0
        • bingo600B
          bingo600
          last edited by

          Someone says this works (if unbound is at the correct vers)
          https://forum.pfsense.org/index.php?topic=131833.0

          /Bingo

          If you find my answer useful - Please give the post a 👍 - "thumbs up"

          pfSense+ 23.05.1 (ZFS)

          QOTOM-Q355G4 Quad Lan.
          CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
          LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

          1 Reply Last reply Reply Quote 0
          • B
            bofh16
            last edited by

            The key is to use URL blocking, not by IP. The solution comes next, whatever is applicable - squid, IP lists…

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