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

    pfBlockerNG blocks Greek IPs from StarLink as IP located in North America

    Scheduled Pinned Locked Moved pfBlockerNG
    10 Posts 4 Posters 1.0k 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.
    • manvalM
      manval
      last edited by

      I have a customer in Greece which use Starlink. The IP address of the internet connection is 129.222.69.121. This IP is registered to Greece, https://ipinfo.io/129.222.69.121.
      Maxmind has also registered this IP to Greece, as you can see from my screenshot:b991a665-6aa4-4ce1-83f7-d04e1d8dc1cd-image.png

      pfSense also has this IP in Greece in it's logs:
      8b5c165e-5576-4e8b-84ad-53a7d0cfbab1-image.png

      But pfSense firewall blocks this IP as an N.America IP.
      28aa718b-7555-4d2e-8201-a18b8b0a3272-image.png

      Why this happens?

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @manval
        last edited by johnpoz

        @manval what is the actual rule? If its bang (!) rule it would block anything that is not from NA.

        Can you post a screenshot of the rule on the firewall.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        manvalM 1 Reply Last reply Reply Quote 0
        • manvalM
          manval @johnpoz
          last edited by

          Correct, it blocks all N.American IPs. See the screenshot from pfBlogerNG > IP > GeoIP > North America.
          9ee725ba-5df3-4bfa-8de6-dd88cce58553-image.png

          But 129.222.69.121 is Greek IP (Europe). And IPs from Greece is permitted.
          da9800b1-9bac-4ad0-89b9-4414a08f60ca-image.png

          Why pfSense blocks this IP as N.America IP?
          afd4b441-613a-4df8-9267-a0f4a80579d3-image.png

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @manval
            last edited by

            @manval the only thing I see allowed is your whitelist alias.

            Why are you trying to block the world? Just allow what you want, if its not allowed then its blocked by default deny.

            Look in your pfb_NA alias in the table.

            I don't see that IP in my NA table.

            table.jpg

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            manvalM 1 Reply Last reply Reply Quote 1
            • manvalM
              manval @johnpoz
              last edited by

              Yes, I want to block worldwide except Greece and Germany.

              Why do you have 180,109 records in your NA Table? My NA Table only has 28,503 records
              cf7fd51f-a26c-4d46-9854-e7def28468c2-image.png

              129.222.69.121 is not in my NA Table either!
              57f2ccea-626d-4f27-8979-a3fd3a6685c8-image.png

              I checked all the tables and I didn't find this IP. !

              Which version of pfBlockerNG are you using?
              cb7bcd86-24e0-4e6b-82df-2b42173f35b5-image.png

              M johnpozJ 2 Replies Last reply Reply Quote 0
              • M
                michmoor LAYER 8 Rebel Alliance @manval
                last edited by

                @manval said in pfBlockerNG blocks Greek IPs from StarLink as IP located in North America:

                Yes, I want to block worldwide except Greece and Germany.

                So why not just create an Alias that permits only Greece and Germany?

                Firewall: NetGate,Palo Alto-VM,Juniper SRX
                Routing: Juniper, Arista, Cisco
                Switching: Juniper, Arista, Cisco
                Wireless: Unifi, Aruba IAP
                JNCIP,CCNP Enterprise

                1 Reply Last reply Reply Quote 1
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @manval
                  last edited by johnpoz

                  @manval said in pfBlockerNG blocks Greek IPs from StarLink as IP located in North America:

                  My NA Table only has 28,503 records

                  Did you go in and alter the NA list. You clearly have edited your EU one.

                  I'm on

                  pfblocker.jpg

                  And as @michmoor mentioned if you only want Greece and DE then just either allow those 2 individually or create a alias that just has those 2 in them.. So for example - For my plex server I only allow US and Belgium

                  countries.jpg

                  But yeah its odd that you don't show it in your table - but that is what is shown triggering.. Not sure how that could happen.

                  I would prob update to latest Dev version.. Since I know there was some changes done at some point not that far back that changed where the geoip was pulled? I pretty sure something about using ip info or something site.

                  I don't use any auto rules - I just use pfblocker to create native aliases and then use those. Not saying auto rules are not fine, I am just not a fan of any sort of auto anything in firewall rules, other than updating say a fqdn to a IP or via an alias I created.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  manvalM 1 Reply Last reply Reply Quote 0
                  • manvalM
                    manval @johnpoz
                    last edited by

                    @johnpoz said in pfBlockerNG blocks Greek IPs from StarLink as IP located in North America:

                    Did you go in and alter the NA list. You clearly have edited your EU one.

                    I haven't manually edited any lists. I don't know how to do that.

                    I have an other pfSense firewall with pfBlockerNG 3.2.0_8 and the NA Table has 229,142 records including 129.222.69.0/24
                    e5d8395d-b819-403c-9164-b844979a0b85-image.png
                    9a91964a-f3f8-45c4-9903-ac95375214c3-image.png

                    I think is something going wrong with my setup. I will try to delete pfBlockerNG 3.2.0_8 and add pfBlockerNG_devel.

                    I have configured many other pfsense the same way (using automatic rules from GEO IP) and never had a similar problem.

                    1 Reply Last reply Reply Quote 0
                    • manvalM
                      manval
                      last edited by

                      I think pfSense has bugs. I uninstall pfBlockerNG and install the pfBlockerNG-devel and I still have the same problems.
                      Furthermore, I add manually list to permit the specific IPs of starlink...
                      49526da4-6011-45e1-85ef-53b9af36df86-image.png
                      .... the rules are in the top of list in Floating rules but pfSense ignore it
                      58af0305-9903-43cd-961b-a7abe09591b2-image.png
                      d93b1fca-8743-43af-8ce6-c3d78cdb973e-image.png

                      I added manually the specific IPs in floating rules. Tomorrow, I will check if this tricks works.
                      fdc341b3-36f9-4638-bd37-f10ac905b1e7-image.png

                      Also, I disabled cron in pfBlogerNG and it is still running ! How to fix this bug?
                      8ac5d95d-17bb-4515-9b2e-31bbb9f53b0b-image.png
                      92a41c31-b461-4a70-aec7-689e40c891da-image.png

                      GertjanG 1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @manval
                        last edited by

                        @manval said in pfBlockerNG blocks Greek IPs from StarLink as IP located in North America:

                        I disabled cron in pfBlogerNG and it is still running !

                        The cron task handles also the max log file sizes :

                        8a399f8d-98e1-4e53-9c3b-1249432f5ceb-image.png

                        so, imho, if set to disabled, it will still keep care of these files by rotating them.
                        Not doing so will fill up the disk.

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

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