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

    Best Way to Add numerous IP's to aliases

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 2 Posters 712 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 Offline
      daschenbrener
      last edited by

      I am trying to created some aliases for Microsoft, Facebook, etc, so that we can allow them through the firewall.

      What would be the best practice to be able to import these into pfsense or if any some type of tool.

      Or if there is something already in place that is created already.

      Thanks in advance

      David

      1 Reply Last reply Reply Quote 0
      • KOMK Offline
        KOM
        last edited by

        Create an URL Table alias.  It's basically just a reference to a text file that holds all the addresses you want.

        1 Reply Last reply Reply Quote 0
        • D Offline
          daschenbrener
          last edited by

          thanks for the info

          Now a quick question i found Microsoft publishes their office 365 list via xml

          https://support.content.office.net/en-us/static/O365IPAddresses.xml

          is there a way to utilize this list from them?

          1 Reply Last reply Reply Quote 0
          • D Offline
            daschenbrener
            last edited by

            I added it to PFblockerNG and made the rules to permit both, would that be the correct way to utilize it?

            1 Reply Last reply Reply Quote 0
            • KOMK Offline
              KOM
              last edited by

              URL Table aliases expect just text, one entry per line.  The MS list is XML, so they are not directly compatible.

              I don't use pfBlockerNG so I can't answer your questions.  Try the pfBlockerNG forum.

              1 Reply Last reply Reply Quote 0
              • D Offline
                daschenbrener
                last edited by

                It is working though, as an FYI. it parsed the file

                1 Reply Last reply Reply Quote 0
                • KOMK Offline
                  KOM
                  last edited by

                  Thanks for the tip.  I just checked the pfSense book and it doesn't go into much detail at all about URL aliases and URL tables aliases.

                  I did misspeak earlier.  You should be using an URL alias, not URL Table.  URL Table is for when the list needs to be updated on a schedule.

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