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

    PfBlockerNG

    pfBlockerNG
    210
    1.2k
    1.8m
    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.
    • BBcan177B
      BBcan177 Moderator
      last edited by

      I usually setup an Alias for "Malicious", "Ads", "IBlock", "Mail" etc (group common lists into one alias) and for each list enter a unique name for each list/header. If the List source has multiple lists, then use a prefix like so:

      blocklistde_ssh
          blocklistde_spam

      "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
      • B
        Bummer
        last edited by

        I am missing something? Attached here is a partial screen cap of what I have set up.

        bbacan177.png
        bbacan177.png_thumb

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

          Unfortunately you can't use "-" in the header name. I also added that to a previous post above.

          "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
          • B
            Bummer
            last edited by

            I"ve read so much on these posts my head spins! I try to go back and look at something that I wanted to research and can't find it.

            Thank you very much for letting me know. I appreciate it.

            Time to make the changes!

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

              Well, most of it worked! But, there is an error below. It doesn't say much for the SSH block list.

              I'm sorry, I hope this isn't something stupid again. I'm very excited with the new pfBlockerNG and want to use it to it's fullest! See the attached screen cap.

              pfblockerNG.png
              pfblockerNG.png_thumb

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

                Can you copy that url and test it in the browser?

                Some site have rate-limiting if you download too many times. When you test it in the browser, and if you get a rate limiting error, disable that list for 24hrs and then re-enable it.

                Blocklist.de also has all those categories in a single download file if you want to try that one.

                "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
                • B
                  Bummer
                  last edited by

                  Yes, I was able to copy and paste the url in to my browser and it came up. I did the "All" as you suggested. I'll see if it updates.

                  What other lists are good to add? I've looked around and it can get confusing. I've seen lists from BlueTack and I-Blocklist. Are they redundant or any good?

                  The spammers and hackers can sure make things painful.

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

                    It looks like it updated okay! I'm excited, thank you very much!

                    Please let me know if there are other lists you consider good and/or use!

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

                      I posted some Lists here
                          https://forum.pfsense.org/index.php?topic=86212.msg486648#msg486648

                      Here are a couple more:
                          http://www.infiltrated.net/blacklisted
                          http://www.infiltrated.net/webattackers.txt

                      I tried the Blocklist.de (ssh) and it worked fine on my test? Its strange that you had this error?
                      as that would indicate that the URL was incorrect (localfile).

                      [pfB_SSH_BlockList SSH_BlockList ] Local File Failure

                      "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
                      • B
                        Bummer
                        last edited by

                        Thank you so much for your help. I'm going to play with this some more tomorrow.

                        Have a great evening!

                        1 Reply Last reply Reply Quote 0
                        • panzP
                          panz
                          last edited by

                          One more question, about Suppress lists:

                          I noticed that Bluetack Level 1 blocks Apple range of addresses: 17.0.0.0/8

                          With that list working on pfblockerNG, my iPad can't get software auto updates.

                          I think that, manual editing the Suppress Alias will not work, because the Help in the "Suppress" sections says:

                          "A Blocked IP in a CIDR other than /24 will need to be Suppressed by an 'Permit Outbound' Firewall Rule"

                          So, how do I pass those addresses?

                          pfSense 2.3.2-RELEASE-p1 (amd64)
                          motherboard: MSI C847MS-E33 Micro ATX (with Intel Celeron CPU 847 @ 1.10 GHz) ~ PSU: Corsair VS350 ~ RAM: Kingston KVR1333D3E9S 4096 MB 240-pin DIMM DDR3 SDRAM 1.5 volt ~ NIC: Intel EXPI9301CTBLK (LAN) ~ NIC: D-Link DFE-528TX (CAM) ~ Hard Disk: Western Digital WD10JFCX Red ~ Case: Cooler Master HAF XB ~ power consumption: 21 Watts.

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

                            @panz:

                            I think that, manual editing the Suppress Alias will not work, because the Help in the "Suppress" sections says:

                            "A Blocked IP in a CIDR other than /24 will need to be Suppressed by an 'Permit Outbound' Firewall Rule"

                            So, how do I pass those addresses?

                            Just as it says  :)

                            Create a new Alias called "Whitelist", in the custom Box at the bottom, enter any IPs that you want to allow Outbound. This will bypass the IP/Range that are in the Blocklists.

                            Try to limit the IPs range as much as possible.

                            Set the "Action" to "Permit Outbound"

                            Define a "Rule Order" in the General Tab that will put the "Whitelist" above the Block/Reject Rules.

                            (When you make future changes, you can click the "Update Custom List" at the bottom of the alias, and run a "Force Update" to get the new changes to be in effect.)

                            "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
                            • B
                              Bummer
                              last edited by

                              Hey BBScan177,

                              I looked at the lists you suggested below. I've looked at them before but ignored them. Can you answer 2 questions?

                              1. On pfBlockerNG it says you can comment out stuff using a # sign. The lists below use a semi colon. Will they still work?
                              2. Lots of people use Google and Yahoo for spamming. I checked the MX record IPs for Google and they weren't listed on either list. Do you know if they ever get put on? The reason I ask is that a lot of people use Gmail.

                              http://www.spamhaus.org/drop/edrop.txt
                              http://www.spamhaus.org/drop/drop.txt

                              This is great!

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

                                @Bummer:

                                Hey BBScan177,

                                I looked at the lists you suggested below. I've looked at them before but ignored them. Can you answer 2 questions?

                                1. On pfBlockerNG it says you can comment out stuff using a # sign. The lists below use a semi colon. Will they still work?
                                2. Lots of people use Google and Yahoo for spamming. I checked the MX record IPs for Google and they weren't listed on either list. Do you know if they ever get put on? The reason I ask is that a lot of people use Gmail.

                                http://www.spamhaus.org/drop/edrop.txt
                                http://www.spamhaus.org/drop/drop.txt

                                This is great!

                                Lol.. ok for one… BBCan not BBScan ... (you owe me like +100 Karma for my identity crisis!)

                                The lists that I recommended are all well established lists. You shouldn't have too much trouble with them.

                                The parsing of the lists will skip any line that starts with a "#". The Spamhaus list parsing is not affected by that trailing ";".

                                In the Custom Box entry of the Alias, you can enter an IP and follow that with a "#" to allow you to enter a description. This makes it easier to remember months later, why you put an IP in the Custom Box in the first place.

                                The Spamhaus list will not affect Google/Yahoo. You can readup on the "Spamhaus" blocklists here…    https://www.spamhaus.org/drop/

                                "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
                                • B
                                  Bummer
                                  last edited by

                                  Okay BBCan177,

                                  How do I issue karma points on this? I took speed reading when in high school. You can see how much good it did me! lol

                                  Okay, I didn't comprehend what was written on phBlockerNG. Again, this must have to do with my speed reading!

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SkyHawk
                                    last edited by

                                    Is the CRON suppose to run hourly?  If so then why?

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      doktornotor Banned
                                      last edited by

                                      @SkyHawk:

                                      Is the CRON suppose to run hourly?  If so then why?

                                      https://forum.pfsense.org/index.php?topic=86212.msg492936#msg492936

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

                                        pfBlockerNG can't even import the DROP and EDROP lists from Spamhaus. Is there any way to use the old pfBlocker on pfSense 2.2 (package does not seem to be available)?

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

                                          @SkyHawk:

                                          Is the CRON suppose to run hourly?  If so then why?

                                          I will add this to my list of Improvements as i indicated in a previous post..

                                          @BBcan177:

                                          I can however add an option in the future to edit the cron settings (min/hour/day etc)

                                          "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
                                          • BBcan177B
                                            BBcan177 Moderator
                                            last edited by

                                            @BoMbY:

                                            pfBlockerNG can't even import the DROP and EDROP lists from Spamhaus. Is there any way to use the old pfBlocker on pfSense 2.2 (package does not seem to be available)?

                                            I think you have mis-configured something in your setup! As there is no issue with those lists. What errors or symptoms do you see in the logs?

                                            "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.