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

    importing IP address list from text file

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 2 Posters 1.2k Views 2 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.
    • S Offline
      soheil.amiri
      last edited by

      hi guys
      i want to block a bulk list of IP address that is updated regularly.
      the file is hosted online server in .TXT format.
      my question:
      1- can i link pfsense alias to online text file?
      2- can i configure pfsense to update the list of alias from Text file in my internal shared network file storage?
      3- is it possible to import list of ip address from text file?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @soheil.amiri
        last edited by

        @soheil-amiri If it's on a web server, look at this page:
        https://docs.netgate.com/pfsense/en/latest/firewall/aliases.html#url-aliases

        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!

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          soheil.amiri @SteveITS
          last edited by

          @SteveITS
          no they are just IP address.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            soheil.amiri
            last edited by

            i can use pfblocker-ng to using feeds ans online list to block bad ip address.
            https://docs.netgate.com/pfsense/en/latest/packages/pfblocker.html

            1 Reply Last reply Reply Quote 0
            • S Offline
              SteveITS Rebel Alliance @soheil.amiri
              last edited by

              pfBlocker should work also as it can pull feeds in a few ways. You wrote "online" so I assumed the file was hosted on a web server.

              pfBlocker I suspect essentially uses the URL Table Alias feature in pfSense for its feeds.

              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 1
              • J jrey referenced this topic on
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.