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

pfBlockerNG custom block list

Scheduled Pinned Locked Moved pfBlockerNG
4 Posts 3 Posters 2.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.
  • D
    deveals
    last edited by Aug 27, 2023, 9:03 PM

    Hello and good day!
    Searched this forum, found valuable suggestions, and looking for assistance configuring pfBlockerNG to add inbound/outbound blocking for custom TCP/IP address list. I added 103.10.4.85 address and received the following error during update/run:

    [ Nazgul_custom_v4 ] Downloading update
    Collecting host IP: 103.10.4.85... completed
    . completed ..
    [ pfB_Nazgul_v4 Nazgul_custom_v4 ] Custom List: No IPs found! Ensure only IP based Feeds are used! ]

    It this time, I'm still able to ping 103.10.4.85 address. Whereas I'm still learning:

    1. Did I miss something in setup for IP address format or should I add the IP to a file (if so, file name, format, and location)?
    2. If configured correctly, are pings for blocked IP addresses allowed

    Thanks. Danny.

    J 1 Reply Last reply Aug 28, 2023, 3:26 AM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @deveals
      last edited by Aug 28, 2023, 3:26 AM

      @deveals you don't need pfblocker to create a basic IP list, you can do that in the normal alias function.

      while you can add specific IPs to an alias in pfblocker, its more designed to grab lists of ips, it really is great for geoip based for example.

      But if you create some list in pfblocker, you would need to apply it to a rule to block. And if you do block, you have to keep in mind that if there is existing state, the block will not take effect until the existing state has expired, or you kill it, etc.

      With some exact details of what you did, its impossible to say what step your missing or what you did wrong, 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 24.11 | Lab VMs 2.7.2, 24.11

      D 1 Reply Last reply Aug 29, 2023, 5:03 AM Reply Quote 0
      • D
        deveals @johnpoz
        last edited by Aug 29, 2023, 5:03 AM

        @johnpoz
        Hello and good day! Review and suggestions appreciated! I think I figured out how to create a custom IP list and now testing including force (kill) expired state :-). Whereas I still learning, what's the best way to see results of applied changes for Firewall/pfBlockerNG/IP/IP4/Info/Links/Custom Lists? Is there a way to generate periodic reports showing statistics for custom IPs? Thanks.

        B 1 Reply Last reply Sep 2, 2023, 3:34 AM Reply Quote 0
        • B
          bgroper @deveals
          last edited by Sep 2, 2023, 3:34 AM

          @deveals
          Danny
          I'm also a newbie, and we're using pfBlockerNG with a custom list.
          Our custom list is derived and compiled from a combination of sources, including AbuseIP.com, local fail2ban, and others.
          The custom list contains about 100k addresses.
          pfSense gets list updates a few times each day by a cron task.
          The activity against this list is easily visible.
          There's a pfBlockerNG widget for the pfSense GUI dashboard that gives summary data.
          If you need more granular data using the GUI, go to Firewall, Rules, WAN, select and edit the custom rule, scroll to bottom of page and note the Tracking ID number.
          Also make sure logging is enabled for this rule. Log = tick.
          Then use Status, System logs, Firewall, Advanced Log filter (enabled in System, General Setup, Log Filtering), and enter the Tracking ID in the filtering criteria. Apply Filter.
          Now you see all the traffic actioned by your custom rule.
          If there's a better way to do this, I hope somebuddy with more experience will chime in with correction/s and/or suggestion/s.
          HTH

          I'm not a complete idiot. There's still a few pieces missing.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received