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

    Firewall Alias CIDR Notation, Add Multiple Networks (Available with bulk import)

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 5 Posters 1.7k 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.
    • G
      Gram
      last edited by

      Apparently I'm blind, and missed the bulk import option.

      ~~When adding a network using CIDR notation in pfSense prior to 2.3 the netmask was automatically parsed, and multiple networks would be separated. This was really useful when pasting in large lists of networks/CIDR.

      For example, if I want to handle communication with Facebook or Google networks differently, for rudimentary content filtering in some cases,  policy based routing in others, I'll look up the ASN (http://bgp.he.net/search?search%5Bsearch%5D=facebook&commit=Search), get the list of networks, and paste the list into a single alias. This no longer works so adding large lists of networks will be quite tedious.~~
      Screenshot_20160410_121657.png
      Screenshot_20160410_121657.png_thumb
      Screenshot_20160410_121745.png
      Screenshot_20160410_121745.png_thumb

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        check    Firewall/Aliases/Bulk import
        (the blue import button on alias overview screen)

        1 Reply Last reply Reply Quote 0
        • G
          Gram
          last edited by

          Oh cool! That's even better than before  :D

          Thanks!

          1 Reply Last reply Reply Quote 0
          • H
            heper
            last edited by

            yea, that was the plan that the devs had/have. make it better then before.

            for sure, not every detail has achieved perfection … but in general i think they've done an amazing job & the details will be sorted in the future.

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

              If you pasting a large list of static IPs, then the "Bulk Import" works fine, but if your wanting to collect ASNs, the pfBlockerNG package can automatically collect the IPs for ASNs on a specified frequency and auto update an Aliastable…

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

              1 Reply Last reply Reply Quote 0
              • P
                phil.davis
                last edited by

                This is a sort-of regression. The code is there after submit of the ordinary alias form to allow lists of IP/CIDR and just split them up and make multiple rows. Now the front-end of the form forces some validation before even submitting the data, so it is not possible to get that sort of data to the back-end any more.

                As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  The bulk import has been there for years. It was just easy to miss since on 1.x and 2.1/2.2 it was a little up-triangle button that you had to hover over to see what it was. :-)

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

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