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

    PFBlockerNG stops working (RESOLVED)

    Scheduled Pinned Locked Moved pfSense Packages
    17 Posts 6 Posters 4.1k 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.
    • S
      sammybernard
      last edited by

      Here is the step by step. It actually shows the problem from start to finish.

      Basically the cron is not working is not "re-creating" the file structure as its supposed to. So while the alistables survive the reboot the get destroyed at cron. But if you do a "manual" "force reboot" things work again.

      Please see the steps and screenshots attached.

      1.jpg
      1.jpg_thumb
      2.jpg
      2.jpg_thumb
      3.jpg
      3.jpg_thumb
      4.jpg
      4.jpg_thumb
      5.jpg
      5.jpg_thumb
      6.jpg
      6.jpg_thumb
      7.jpg
      7.jpg_thumb

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

        Instead of using "Force Cron" after the reboot. Please use "Force Update" and see if that makes a difference. I don't use Nano but the two users who replied in this thread both use the Nano version with pfBNG without issues.

        I would also suggest you read the pfBlockerNG thread about Blocking the world and reverse that approach to Allow a few Countries instead.

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

        "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
        • S
          sammybernard
          last edited by

          Yes as shown in  Img 6, "Force Update" works. The only things is how do I automate that ?? I am willing to change the crontab file so that I do no an hourly force update. Since the reboot happens late at night we are not on site to log in and do a manual "Force Update". For robustness sakes there should be a way to automate this step.

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

            It works just fine automated for me (on multiple nanobsd boxes). I'd suggest to uncheck the Keep Settings box, remove the package and start from scratch.

            @BBcan177:

            I would also suggest you read the pfBlockerNG thread about Blocking the world and reverse that approach to Allow a few Countries instead.

            Yeah, indeed…

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

              The particular situation here is unique as most users have other Lists along with Country Blocking.

              So I see the issue now with "Force Cron". I will write an update and send it to you to test before I release it.

              "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
              • S
                sammybernard
                last edited by

                Thanks BBCAN … I will await your response.

                SAM

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

                  BBCan is a ROCK STAR !!!

                  Emailed me the patch and it works now like a charm. So I'm sure he/she will be sending the code upstream to be included in the next update of the package.

                  The affected version was 1.06

                  Thanks again for an amazing package and amazing support !!!

                  1 Reply Last reply Reply Quote 0
                  • dennypageD
                    dennypage
                    last edited by

                    @sammybernard:

                    BBCan is a ROCK STAR !!!

                    Yes, he certainly is.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Supermule Banned
                      last edited by

                      We cant arque with that ;)

                      1 Reply Last reply Reply Quote 0
                      • U
                        UnEsxi
                        last edited by

                        Yep ROCKIN'

                        Scratching around trying to figure out why no rules were being created, no logs showing any complaints, configuring everything and looking for things that might hint of what could be broken. Then found this thread… pressed Reload and for the first time after hours of having pfBng enabled, it runs:

                        UPDATE PROCESS START [ 04/03/15 23:55:19 ]

                        All the rules werre written and appended to my interface rule-sets.

                        Sweet! Thanks to all of you for these posts and of course bbcan177… who it seems may have nailed this for 1.07/8.

                        Not a moment too soon (mine worked just before midnight)!

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

                          Hi unEsxi,

                          Your situation is not related to the issue in this thread. You need to use "Force Update" to apply changes. There is a big red disclaimer above the "Save" button.

                          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
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.