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

    pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!

    Scheduled Pinned Locked Moved pfBlockerNG
    105 Posts 31 Posters 78.4k 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.
    • BBcan177B
      BBcan177 Moderator @NollipfSense
      last edited by

      @NollipfSense Update to the latest devel version.

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

      NollipfSenseN 1 Reply Last reply Reply Quote 0
      • NollipfSenseN
        NollipfSense @BBcan177
        last edited by

        @BBcan177 Got v2.2.5_29 on pfSense 2.5-dev.

        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
        • NollipfSenseN
          NollipfSense
          last edited by

          Well, I was tired of all those notifications and decided to get a MaxMind account...all went well; however, when I created the GeoIP.conf file on my Mac, the MacOS added a dot rtf or dot txt that I cannot see despite unchecking the box not the add the extension to the file name. So, when I uploaded the file, it's been placed in the TMP folder instead of /usr/local/etc. Then, when I go to move the file, I get no such file or directory. I had clicked on the file then edited the file name to GeoIP.conf.

          Screen Shot 2020-02-24 at 1.05.46 PM.png
          Screen Shot 2020-02-24 at 1.55.26 PM.png
          Screen Shot 2020-02-24 at 1.56.22 PM.png

          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.

          BBcan177B 1 Reply Last reply Reply Quote 0
          • RonpfSR
            RonpfS
            last edited by

            mv /tmp/GeoIP.conf /usr/local/etc

            2.4.5-RELEASE-p1 (amd64)
            Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
            Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

            NollipfSenseN 1 Reply Last reply Reply Quote 0
            • NollipfSenseN
              NollipfSense @RonpfS
              last edited by NollipfSense

              @RonpfS said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

              mv /tmp/GeoIP.conf /usr/local/etc

              That worked...thank you...wondered why it didn't work when I changed to the tmp directory then issued the move command?

              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
              • RonpfSR
                RonpfS
                last edited by

                @NollipfSense said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

                why it did work when I changed to the tmp

                Shell Output - pwd

                /usr/local/www

                2.4.5-RELEASE-p1 (amd64)
                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                NollipfSenseN 1 Reply Last reply Reply Quote 0
                • NollipfSenseN
                  NollipfSense @RonpfS
                  last edited by

                  @RonpfS said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

                  @NollipfSense said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

                  why it did work when I changed to the tmp

                  Shell Output - pwd

                  /usr/local/www

                  It was supposed to read: why it didn't work. It didn't require a password on the WebGUI since I am logged in...am I interrupting your response correctly?

                  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
                  • RonpfSR
                    RonpfS
                    last edited by

                    the command prompt working directory is /usr/local/www

                    man pwd 😉

                    2.4.5-RELEASE-p1 (amd64)
                    Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                    Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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

                      @NollipfSense said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

                      Well, I was tired of all those notifications and decided to get a MaxMind account...all went well; however, when I created the GeoIP.conf file on my Mac, the MacOS added a dot rtf or dot txt that I cannot see despite unchecking the box not the add the extension to the file name. So, when I uploaded the file, it's been placed in the TMP folder instead of /usr/local/etc. Then, when I go to move the file, I get no such file or directory. I had clicked on the file then edited the file name to GeoIP.conf.

                      Not sure why you are editing that GeoIP.conf file as it is not used by pfBlockerNG. See the instructions in my first post in this thread for instructions.

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

                      NollipfSenseN 1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Yes, you can't change directory from the web command prompt like that. It always executes from the same location.

                        1 Reply Last reply Reply Quote 0
                        • NollipfSenseN
                          NollipfSense @BBcan177
                          last edited by

                          @BBcan177 said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

                          @NollipfSense said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

                          Well, I was tired of all those notifications and decided to get a MaxMind account...all went well; however, when I created the GeoIP.conf file on my Mac, the MacOS added a dot rtf or dot txt that I cannot see despite unchecking the box not the add the extension to the file name. So, when I uploaded the file, it's been placed in the TMP folder instead of /usr/local/etc. Then, when I go to move the file, I get no such file or directory. I had clicked on the file then edited the file name to GeoIP.conf.

                          Not sure why you are editing that GeoIP.conf file as it is not used by pfBlockerNG. See the instructions in my first post in this thread for instructions.

                          I wasn't editing the file...just the file name, because I had copied the file (the GeoIP.conf) in TextEdit, paste the key, and saved. When I had saved, the MacOS added the dot rtf or dot txt.

                          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
                          • W
                            Waqar.UK
                            last edited by

                            @NollipfSense said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

                            Not sure why you are editing that GeoIP.conf file as it is not used by pfBlockerNG. See the instructions in my first post in this thread for instructions.

                            I wasn't editing the file...just the file name, because I had copied the file (the GeoIP.conf) in TextEdit, paste the key, and saved. When I had saved, the MacOS added the dot rtf or dot txt.

                            Hello all,

                            just upgraded a few minutes ago to 2.4.5-RELEASE (amd64)
                            I am running pfblockerNG and snort.
                            Do I need a maxmind account to run pfblockerNG?
                            I have registered at https://www.maxmind.com/en/geolite2/signup
                            But as your first picture states "company home use" during
                            registration I put down "non profit". How do I change this to "home"?

                            W S 2 Replies Last reply Reply Quote 0
                            • W
                              Waqar.UK @Waqar.UK
                              last edited by

                              MaxMind GeoIP configuration  me.png

                              This is my pfblockerNG -> maxmind screen-grab.

                              1 Reply Last reply Reply Quote 0
                              • S
                                SteveITS Galactic Empire @Waqar.UK
                                last edited by

                                @Waqar-UK said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

                                Do I need a maxmind account to run pfblockerNG

                                The MaxMind account is for downloading the geoIP data. It's free. I would not worry about what to enter on the MaxMind form for Company or Industry, it's probably for data collection or marketing purposes.

                                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                Upvote 👍 helpful posts!

                                1 Reply Last reply Reply Quote 1
                                • W
                                  Waqar.UK
                                  last edited by

                                  Thanks Steve,

                                  here:
                                  Confirm generation of new license key
                                  https://www.maxmind.com/en/accounts/current/license-key
                                  then "generate new license key"
                                  what do I put into:
                                  "License key description"
                                  and "Will this key be used for GeoIP Update?"
                                  I assume "yes"

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    SteveITS Galactic Empire @Waqar.UK
                                    last edited by

                                    @Waqar-UK
                                    The description is for you so you can tell your keys apart. It doesn't matter. See #3 in the first post above:
                                    'Enter a "License key description", Select "yes" for "GeoIP Update", and select the License key for "version 3.1.1 or newer" and confirm'

                                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                    Upvote 👍 helpful posts!

                                    1 Reply Last reply Reply Quote 1
                                    • W
                                      Waqar.UK
                                      last edited by Waqar.UK

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        Waqar.UK
                                        last edited by

                                        I got the key.
                                        Now how do I use this?

                                        For Usage with GeoIP Update

                                        We've generated a config file for you to use with GeoIP Update. See the Automatic Updates for GeoIP2 and GeoIP Legacy Databases page to learn how to use this config file to set up automatic updates.1 pfsense forum for usage with geopIP update.png

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          Waqar.UK
                                          last edited by

                                          Sorry here is the png file1  pfsense forum  for usage with geopIP update.png

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Enter the Key in the 'Maxmind License Key' field in pfBlocker. Now you can access the GeoIP tabs.

                                            Steve

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