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

    PfBlockerNG

    Scheduled Pinned Locked Moved pfBlockerNG
    1.2k Posts 211 Posters 2.1m 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.
    • dennypageD
      dennypage
      last edited by

      And what List Action did you select?

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

        @dennypage:

        Did you enable pfBlockerNG in the General tab? Did you force an update
        @Asterix:

        Not seeing any aliases being created after selecting various country blocks. Nor do I see them on the dashboard widget. Its empty.

        Follow the pfblockerng.log. It will tell you error events that can help diagnose…

        Two points to check

        1. Each alias needs to have a defined : List Action
        2. Ensure that you have a "header name" for each List/URL

        "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
        • A
          asterix
          last edited by

          I edited my previous post as a reboot fixed it.

          Wanted to check if u enable the floating rules options on the general tab?

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

            @Asterix:

            I edited my previous post as a reboot fixed it.

            Wanted to check if u enable the floating rules options on the general tab?

            The choice is there to run Rules on each interface or to set them in the "Floating Tab"… The Choice is yours to make... There are threads that give some more advice on that...

            So yes, if you want to enable "Floating Rules" select the option in the General Tab.

            https://forum.pfsense.org/index.php?topic=78062.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
            • J
              justsomeone
              last edited by

              woot, it's official!

              "Bad shit happens to drunk people."

              1 Reply Last reply Reply Quote 0
              • W
                wcrowder
                last edited by

                @BBcan177:

                After seeing some users installation of pfBNG, I would like to suggest the following:

                1. Enable "Keep Settings" in the General Tab. On any re-install you will lose all settings without it.

                2. With the new "Alerts" Tab, you don't need to break-out each List into a single Alias. You can create an "Alias" Category, say IBlock and put most of the IBlock lists into one Alias. You can create another Alias for "Mail Servers" etc.. The Alerts tab will tell you which list was responsible for the Blocked event.

                3. And as always no one reads the tech notes on each setting. So I advise you to read each one to familiarize yourself with each function.

                Like This:

                Image1.JPG
                Image2.JPG
                Image3.JPG
                Image1.JPG_thumb
                Image2.JPG_thumb
                Image3.JPG_thumb

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

                  @Asterix:

                  Wanted to check if u enable the floating rules options on the general tab?

                  Depends on how you want your system setup. I have it enabled using rule order pfSense Pass/Match | pgB_Pass/Match | pfB_Block/Reject..

                  1 Reply Last reply Reply Quote 0
                  • J
                    JasonJoel
                    last edited by

                    My lists were all showing 0 entries after update… But after the last CRON they are all showing again. Weird as I force updated many times and it didn't populate. Not sure what happened, but ignore this post. :)

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

                      Can you run the following command followed by a "Force Update"

                      /usr/local/bin/php /usr/local/www/pfblockerng/pfblockerng.php dc

                      "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
                      • J
                        JasonJoel
                        last edited by

                        I ran that and force updated. After last update have 70K+ entries, same as right before I did it.

                        I also tried adding/removing a few countries and the count changes. So seems like everything is working great. Not sure what happened right after upgrade, but it is behaving now. AWESOME addition to pfSense.

                        1 Reply Last reply Reply Quote 0
                        • J
                          JasonJoel
                          last edited by

                          I hate to ask stupid questions on here, but i'm going to anyway. Feel free to point out my inadequacies, as I'm sure the answer is obvious and I'm just being obtuse…

                          If I need to unblock/pass a specific IP address that is currently being blocked in a country block list - is that possible?

                          For instance, I had Poland blocked in the Top 20 list. However, GOG.COM's game down loader is via Poland so I need to let it through.

                          Obviously I can unblock Poland, but would rather just let the GOG IP address through.

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

                            @JasonJoel:

                            If I need to unblock/pass a specific IP address that is currently being blocked in a country block list - is that possible?

                            Follow the instructions in this link to create a "Permit outbound" alias.

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

                            "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
                            • F
                              fsansfil
                              last edited by

                              Very nice job on the package but…in the alert tab we need small country flags for the CC colum. Its not a real NG package w/o little flags :)

                              Cheers.

                              F.

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

                                @fsansfil:

                                Very nice job on the package but…in the alert tab we need small country flags for the CC colum. Its not a real NG package w/o little flags :)

                                :) I thought about it.. I was going to borrow the flags from the ntopng package but with so many countries, I think it's impractical for most users to reference all those Flags. While I agree it would look nice, I think Geography is not the intended topic. I may add it and let the user decide which they prefer. However, I am focusing my efforts on the next version which will have Unbound DNSBL integration.  :)

                                Thanks for the overall positive feedback!

                                "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
                                • dennypageD
                                  dennypage
                                  last edited by

                                  ROFL!

                                  @fsansfil:

                                  Very nice job on the package but…in the alert tab we need small country flags for the CC colum. Its not a real NG package w/o little flags :)

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

                                    I think you just need one flag for CN. That's where most of the unwanted junk traffic comes from. :P

                                    (I know about project getting pissed off bug reports about "You ignoramus don't know this state does not exist any more?! We have split from those nasty theyspeakotherdialect criminals whopping two years ago and you dare to not have noticed yet?! What an insult to our huge 500K headcount nation! And/or - this flag is not used any more, it was used by $badguy regime, you are insulting our brand new "democracy". Flags can become a slippery slope very quickly…)

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User
                                      last edited by

                                      Many thanks to all those that made this happen  ;D

                                      A recent upgrade to vDISASTER-1.0, has forced me to start over from scratch. Working bit by bit on preparing a system for the blueprint guides doesn't seem like a lot of work when you do it bit by bit. Starting over made me realize what a lot of people have been complaining about: complexity.

                                      Just about when the suricata part of the blueprints was finished (I deliberately delayed the IP lists, since I knew the package was coming), the package was made available. Great, perfect opportunity to test it I thought.

                                      Installed the package, went to configure it…my jaw dropped! BBcan177 told me it was good, but unfortunately due to a LOT of work coming my way, wasn't able to help out test it, but I never thought it would be THIS good!

                                      It basically takes configuring a system according to the blueprints from a process that takes 2 days (you do double check everything, right?) to a few hours. Biggest help is the auto-creation of floating rules using the lists. Bonus thing is, the way the package handles the lists, you don't even have to create the dozen (or so) floating rules suggested. Just one rule containing the alias, which in turn contains the lists. pfBlockerNG then handles the "ok, so what list is this IP on?" part in its alerts tab. Perfect!

                                      So far it makes a perfect addition to the blueprint guides (and the new guide, which will be a LOT simpler, yes I'm typing it up bit by bit, preparing it for other authors to contribute too). Only downside I find to it, is that sync doesn't want to sync, but that's another story, for another day. First I need to add the dozens of lists back, then figure out why it's not working. I understand that a much needed break is in order for the devs, so for the time being, I'm not going to bother with it  ;D Problem solved: There is an input validation that messes up my special passwords (I'm special, didn't you know?). Using alphanumeric ones solves it. Thanks to BBcan177 for keeping me company while troubleshooting this.

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

                                        Any problem wizh iblocklist?

                                        After i add list, can t download any list from this site. I have gz and cidr format. Any help?

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          fragged
                                          last edited by

                                          Have you clicked the "Force Cron" button on the Update tab? Is there anything in the Logs / Log Files / Error.log?

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            JohnPFsense
                                            last edited by

                                            What a nice surprise to see an update for pfblocker. I didnt expect i to to come for a couple of weeks. Totally awsome.
                                            Everything works great. I see some really clever things in the new NG package. Lots of shiny new options.

                                            One minor thing. The header field was a little strange. Im used to a header meaning something to ignore  as actual input. So my immediate intuition was to input something like a # because my lists did not load right and the force update said:
                                            ** TERMINATED - Header contains Blank/International/Special or Spaces

                                            But I found in the forum that its a header like a description. So maybe a little description for header would be helpfull.

                                            Congratulations BBcan177 for your achievement

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