Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Help with blocking sites like facebook and youtube

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

      Hello, anyone can pls help me with the steps to use if I want to block users on my LAN from accessing facebook and youtube websites. I have already installed the squid package, along with DansGuardian, and added as blacklist url Shalla's list.

      T.I.A

      1 Reply Last reply
      Reply Quote 0
      • N
        namalka
        last edited by

        you can block facebook in Firewall tab with:
        step1
        firewall====>aliases====>add new aliases====>type the nane of rule in name filed
        select url in type field and  type the www.facebook.com in url field and save.
        now you have create the rule
        step2
        Firewall==>Rules and create a nez rules  in destination field you select the name of your aliases

        1 Reply Last reply
        Reply Quote 0
        • S
          Supermule Banned
          last edited by

          Doesnt work…The following input errors were detected:

              You must provide a valid URL. Could not fetch usable data.

          1 Reply Last reply
          Reply Quote 0
          • D
            dhatz
            last edited by

            This question has been covered literally dozens of times in this forum.

            The easiest way (without installing any software for L7 filtering) would be to use the DNS forwarder and/or add IP blocks to an alias and block it.

            A more feature-rich but also more complex option would involve Squid and SquidGuard or DansGuardian.

            1 Reply Last reply
            Reply Quote 0
            • L
              lordrt
              last edited by

              @dhatz:

              This question has been covered literally dozens of times in this forum.

              The easiest way (without installing any software for L7 filtering) would be to use the DNS forwarder and/or add IP blocks to an alias and block it.

              A more feature-rich but also more complex option would involve Squid and SquidGuard or DansGuardian.

              I had a go with SquidGuard first, using the MESD blacklist, however it blocked all my internet access, thus I went for DansGuardian, but the firewall rules not blocking any of the aliases am creating so far.

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy