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

    IP Block List - Do I need pfBlockerNG to block IP Addresses?

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 5 Posters 700 Views 6 Watching
    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.
    • C Offline
      carrzkiss
      last edited by

      Hello.
      PFSense 2.8.1-RELEASE

      I have a rule that blocks all IP addresses from a specific list. This list is dynamic and continually grows as hackers attempt to compromise any of our websites.

      I have a Firewall Rule set up that uses the list.
      However, I just read that it needs to have pfBlockerNG for it to block the IP Addresses properly.

      I installed pfBlockerNG and do not see where I am supposed to add the IP Block List.

      One last thing.
      In the IP Block list section, it has this.

      Hint: Enter as many URLs as desired. After saving, the URLs will be downloaded and the items imported into the alias. Use only with small sets of IP addresses (less than 3000).

      I have just checked the list, and it contains 3,127 unique IP addresses.

      Do I need to split the list to a 3000 list limit?

      If that is what needs to be done. How do I add additional lists?
      Do I add each new list, separated with a comma?

      Thanks.
      Wayne

      S GertjanG 2 Replies Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @carrzkiss
        last edited by

        @carrzkiss if you have a list you can download via web you can use a URL table alias
        https://docs.netgate.com/pfsense/en/latest/firewall/aliases-types.html#alias-types-url
        Then just use in a rule.

        pfBlocker can set up custom feeds but it’s unnecessary. It has a large list of feeds though which may need their own processing.

        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 reboot, or more depending on packages, and device or disk speed.
        Upvote 👍 helpful posts!

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

          @carrzkiss said in IP Block List - Do I need pfBlockerNG to block IP Addresses?:

          I installed pfBlockerNG and do not see where I am supposed to add the IP Block List.

          Go here :

          3def850b-6b95-4d87-aac4-cb795e520d85-image.png

          Give it a name.
          A description.
          Click on the first blue round I marked image for help with the 'name' and description.
          Click on the second blue round I marked image for help. This one tells you you can use a local file, on the pfSense file system, your own file with IPs.

          Take a look at the rest of the settings. You can select how and where this list should be used.

          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
          • U Offline
            Uglybrian
            last edited by

            If you choose to use steveITS way, note you need to change the URL type to (table).

            Screenshot from 2025-09-30 07-40-37.png

            An example.

            Screenshot from 2025-09-30 07-50-45.png

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

              I use pfblocker for alias management.. While I do have some other just native aliases. I use pfblocker functionality to manage more complex lists.

              Example - here is my scan deny alias, which contains some asn's and lists from different locations that scan for open ports like shodan, etc..

              scandeny.jpg

              And use another list for stuff that need to allow, that might be blocked by list like scan deny - this list contains country based IP lists, and other lists provided by services like plex and monitoring to know if service is up, etc. Which I use to alert me if something goes down.

              allow.jpg

              I don't really use any of the other features of pfblocker - but I do love its easy management of just native aliases.

              You can also easy add just 1 off networks/ips etc.. to your alias you create in the bottom custom section

              custom.jpg

              When bored or whatever I take a look at my firewall log - and notice something scanning but not in my scan deny list, I will look up the details and normally block the whole netblock, etc.

              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 25.07.1 | Lab VMs 2.8.1, 25.07.1

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