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

    pfBlocker GeoIP Not Working

    Scheduled Pinned Locked Moved pfBlockerNG
    15 Posts 5 Posters 4.3k 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.
    • A
      Alex99 @jdeloach
      last edited by

      It worked, thanks !

      Just for those who are struggling: I had to put this command, including the quotes in the PHP window:

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

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

        I'm running pfsense version 2.4.5-RELEASE-p1 (amd64) & pfBlockerNG-devel 2.2.5_33

        Any idea how to get this IP stats to show up on the widget? I ran this command ( php /usr/local/www/pfblockerng/pfblockerng.php dc) to manually force Maxmind to update. Is it supposed to update on its own if you have a license key? This widget has never updated correctly for me for IP. I see this in the update log though [ pfB_Top_v4 ] Removed 6 state(s) for [ 178.xxx.xxx.xxx ]

        Capture.JPG

        1 Reply Last reply Reply Quote 0
        • A
          Alex99
          last edited by

          This is what I have:

          It is also a bit obscure to me what the IP count is, but I have never investigated in-depth.

          ad55a5c6-ae8d-499c-a864-f849990bfe00-image.png

          S 1 Reply Last reply Reply Quote 0
          • S
            shdwkeeper @Alex99
            last edited by

            @Alex99

            I dont get any numbers in that field at all

            1 Reply Last reply Reply Quote 0
            • A
              Alex99
              last edited by

              This is what I have when I hover:

              db8610b9-2ac4-4909-9369-324ce7a6bc1f-image.png

              I guess it depends on the config of the IP tab. All my combos are set to default.

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

                Capture.JPG

                Now its working after I increased the Maximum Firewall entries from 400000 to 950000. This option is under the: System-->Advanced-->Firewall & Nat area.

                1 Reply Last reply Reply Quote 0
                • A
                  Alex99
                  last edited by

                  Firewall Maximum Table Entries
                  is already at 3M on mine.

                  Very strange that you have Block & Reject packets under IP and that I don't have any... it probably depends on the config & the firewall rules...

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    shdwkeeper @Alex99
                    last edited by shdwkeeper

                    @Alex99

                    Oh wow 3 million. What does your GeoIP settings look like? I have deny inbound on everything and North America Disabled
                    Capture.JPG

                    1 Reply Last reply Reply Quote 0
                    • A
                      Alex99
                      last edited by

                      This is what I have. I am now thinking that perhaps I should change to "deny inbound" instead of "disabled" ? (I want to block those of course)
                      In Europe, I allow 2 countries.

                      7b5d0728-5979-4691-8735-2a0f940c2341-image.png

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        shdwkeeper @Alex99
                        last edited by shdwkeeper

                        @Alex99 Yeah change that to deny and you will probably see your counter go up, I'm going to try that with North America (allow inbound) as well just to test.

                        This is probably a better approach than blocking all the countries: Pfblocker … is this normal after 3 hours of uptime

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