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

    Best Content Filter for HTTP / HTTPS or DNS

    Scheduled Pinned Locked Moved Cache/Proxy
    11 Posts 4 Posters 3.6k 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.
    • C
      cmb991
      last edited by

      I need a content filter that I can use within pfSense to block certain categories.  It needs to either filter HTTP and HTTPS (transparent), or DNS.  We have a public guest network that BYOD go on, we don't want them getting a certificate error.  Any ideas?

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

        If you don't want cert errors and you don't control the devices then transparent mode is out of the question.  Squid, squidGuard and a blacklist will do what you want.  WPAD can be used to configure auto-detection of the proxy.

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          Getting in the middle of HTTPS connections is ugly no matter who does it and no matter the reason.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

            I guess I'm looking more for DNS Filtering…. If we did HTTP & HTTPS filtering, WPAD would work to configure browsers so they don't get a certificate error?

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

              WPAD would work to configure browsers so they don't get a certificate error?

              You have it backwards.  The browsers support the WPAD method of auto-detecting the proxy.  WPAD doesn't do anything.  You have to edit your DNS and DHCP to support WPAD, but it's easy.  The only real gotcha is that the wpad.dat/proxy.pac files must be hosted on an HTTP server, and the web server must support the dat/pac MIME type.

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

                Okay so if I go that route, then SquidProxy would be the way to go with HTTP and HTTPS filtering?  Or…

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

                  Or Dansguardian?

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

                    I think DansGuardian is being deprecated for 2.3, so you might want to avoid it.  Squid is the only way to go for now.

                    1 Reply Last reply Reply Quote 0
                    • BBcan177B
                      BBcan177 Moderator
                      last edited by

                      @cmb991:

                      I guess I'm looking more for DNS Filtering….

                      https://forum.pfsense.org/index.php?topic=102470.0

                      "Experience is something you don't get until just after you need it."

                      Website: http://pfBlockerNG.com
                      Twitter: @BBcan177  #pfBlockerNG
                      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

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

                        DNS filtering using that would be awesome, we already have it installed.  but there isn't anyway to do categories…

                        1 Reply Last reply Reply Quote 0
                        • BBcan177B
                          BBcan177 Moderator
                          last edited by

                          @cmb991:

                          DNS filtering using that would be awesome, we already have it installed.  but there isn't anyway to do categories…

                          Some others have asked to get that incorporated into the package which I should be able to do at some point…. In the meantime, just download the Feed that you use into  /var/db/pfblockerng and extract the archive. The extraction should create the subfolders for the Feed in that base folder.

                          Then add a new DNSBL Alias, and in the 'Source Fields', map to the category folders that you would like to use… Add a new Source line for each category.

                          You could also rig a cron task to download once/day and extract to the same folder.

                          "Experience is something you don't get until just after you need it."

                          Website: http://pfBlockerNG.com
                          Twitter: @BBcan177  #pfBlockerNG
                          Reddit: https://www.reddit.com/r/pfBlockerNG/new/

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