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

how to block ads with pfBlockerNG ??

Scheduled Pinned Locked Moved pfBlockerNG
8 Posts 4 Posters 4.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.
  • F
    firefox
    last edited by May 15, 2020, 3:20 PM

    i install pfBlockerNG (pfBlockerNG-devel 2.2.5_32)
    I want to block advertisements or pop-ups
    I worked according to a guide I saw online
    the guide says To mark the hphosts

    the hphosts not working
    Is there a way to fix this?

    What’s better against advertisements? pfBlockerNG or squidGuard

    J 1 Reply Last reply May 15, 2020, 4:24 PM Reply Quote 0
    • J
      jdeloach @firefox
      last edited by jdeloach May 15, 2020, 7:04 PM May 15, 2020, 4:24 PM

      @firefox said in how to block ads with pfBlockerNG ??:

      i install pfBlockerNG (pfBlockerNG-devel 2.2.5_32)
      I want to block advertisements or pop-ups
      I worked according to a guide I saw online
      the guide says To mark the hphosts

      the hphosts not working
      Is there a way to fix this?

      What’s better against advertisements? pfBlockerNG or squidGuard

      I would suggest that you read through the document in this link https://linuxincluded.com/block-ads-malvertising-on-pfsense-using-pfblockerng-dnsbl/ and then configure pfBlockerNG-devel like it shows.

      Keep in mind that some of these block lists may or may not work. Most of these lists are maintained by individual folks on personal servers that may not always be online. The hphosts list that you mention is discontinued so don't bother to install it. Use some of the other lists in the above link.

      1 Reply Last reply Reply Quote 0
      • F
        firefox
        last edited by May 16, 2020, 11:45 AM

        This is one of the guides I used
        I went through the guide again
        And there is a missing line

        the EasyList Adware Filter
        Although it is marked

        1.png

        2.png

        J 1 Reply Last reply May 16, 2020, 12:44 PM Reply Quote 1
        • J
          jdeloach @firefox
          last edited by jdeloach May 16, 2020, 12:45 PM May 16, 2020, 12:44 PM

          @firefox said in how to block ads with pfBlockerNG ??:

          This is one of the guides I used
          I went through the guide again
          And there is a missing line

          the EasyList Adware Filter
          Although it is marked

          2.png

          Maybe I need another cup of coffee this morning, but I don't understand your comment about "And there is a missing line", what is missing and where??

          What you're showing looks correct to me and in fact looks the same as I have mine setup.

          Now let me clarify something here, I'm still running pfSense 2.4.4-p3 with pfBlockerNG-devel 2.2.25.29 because of the issues with that are being worked with pfSense 2.4.5-p1. Maybe there are some new changes that have been made with pfBlockerNG-devel 2.2.25.32 that I am not aware of. Until the issues with pfSense 2.4.5-p1 are resolved, I can't install the latest pfBlockerNG-devel.

          1 Reply Last reply Reply Quote 0
          • F
            firefox
            last edited by May 16, 2020, 1:14 PM

            You're right
            One of the pictures in the guide was a bit misleading

            I went through everything
            All according to the guide
            But it doesn't block advertisements or pop-ups

            What’s better against advertisements? pfBlockerNG or squidGuard

            N 1 Reply Last reply May 17, 2020, 9:51 PM Reply Quote 0
            • N
              NollipfSense @firefox
              last edited by NollipfSense May 17, 2020, 9:58 PM May 17, 2020, 9:51 PM

              @firefox Use your browser to block pop-ups and NOTE: some ads will get through especially if you're using a browser that allows DNS request (DNS over https) ... you'll need to turn that off. Google browser, apps, such as Android or YouTube uses the IP address and port (443) to bypass pfBlockerNG.

              pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
              pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

              1 Reply Last reply Reply Quote 0
              • F
                firefox
                last edited by May 18, 2020, 12:23 PM

                I use the firefox browser and ublock plugin

                But it doesn't block everything and it's not the most convenient
                There are sites I reach and get notified that I can't browse until I deactivate the extension

                The last time I had a pfsense (It was in pfsense 2.4 maybe 2.3) it blocked the commercials and pop-ups
                I had no problem with such sites

                I will try to find a screenshot of it
                If I have
                There was a list of what to block
                sex
                Alcohol
                Gambling
                Medicines
                And so on and so forth

                It might as well have been squidGuard and not pfBlockerNG (Not remember)

                1 Reply Last reply Reply Quote 0
                • N
                  nprog
                  last edited by May 3, 2021, 9:55 AM

                  I was also looking for a new guide for 2021 and I found this guide, and has lots of pictures and talks about the steven blacklist. This one worked for me.
                  How to Block Ads on pfsense with pfblockerng

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received