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

    Block Sites

    Scheduled Pinned Locked Moved Cache/Proxy
    5 Posts 3 Posters 1.5k 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.
    • R
      rhercules
      last edited by

      I want to block a site in pfsense lets say www.facebook.com.
      I have install the package Squid and Squidguard.
      Configure it and services ON.

      But when i go to the cliente still have facebook active.
      I have some questions. if i put the www.facebook.com it say not a valid url, only accect if i put / in the end. Plus if i put https:// dont accept either. I try do block for words and cant to.

      What i'm doing wrong ?

      PS 1: Using Virtualbox for testing, and Ubuntu 15.04 as a cliente tester
      PS 2: I'm configuring via firefox in the cliente and test in the same computer/browser.

      1 Reply Last reply Reply Quote 0
      • K
        killmasta93
        last edited by

        to block http use squid3 to filter and squidGuard to block they work hand and hand. To block HTTPS sites the easy way to block using pfBlockerNG using the hurricane list finding facebook IP and then using cron to update the list or you can do it manually every 3-6 months. Also make sure after installing squid3 reboot the machine then configure squid correctly then move on to squidGuard make sure the services are activated. Also clean the cache of the browser or clean all the history just to make sure.

        Tutorials:

        https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

        1 Reply Last reply Reply Quote 0
        • C
          chris4916
          last edited by

          @killmasta93:

          to block http use squid3 to filter and squidGuard to block they work hand and hand. To block HTTPS sites the easy way to block using pfBlockerNG using the hurricane list finding facebook IP …[SNIP]

          pfBNG is indeed one of the different ways to achieve this. However, using HTTP proxy still remains, IMO, the most suitable solution if goal is to control web access. pfBGN works at DNS level (and FW) which has some advantages but also potentially drawbacks.

          Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

          1 Reply Last reply Reply Quote 0
          • C
            chris4916
            last edited by

            @rhercules:

            I want to block a site in pfsense lets say www.facebook.com.
            I have install the package Squid and Squidguard.
            Configure it and services ON.

            You do need to provide more details about what you did here:
            e.g. if you configure Squid as transparent proxy (without MITM), there is no way you could control HTTPS flow and therefore prevent users accessing some sites.

            Jah Olela Wembo: Les mots se muent en maux quand ils indisposent, agressent ou blessent.

            1 Reply Last reply Reply Quote 0
            • R
              rhercules
              last edited by

              Thanks all for the replys :-)
              I'll try that and lets se if that work :)

              Best Regards :-)

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