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

    Export/import/merge/sort aliases? Length limit?

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 3.6k 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.
    • J
      Javik
      last edited by

      Is there some way to export an alias list and import it at another site, without having to type it all in again? I don't want to copy the entire pfSense configuration to another site, just the one alias list.

      Is there some way to sort alias lists by address/network or description?

      Also, how large can address/network alias lists get, and does it have a big performance drain on the firewall?

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

        Diag > Backup/Restore. Choose "aliases". Then restore that to the other units.

        If you're handy with PHP there is some other trickery that can be done using var_export() and variable assignments directly into the config on the target, but that is easy to break if you do the wrong thing, so I'll leave out the details of that method. :-)

        On 2.1 the aliases are broken up into tabs by type, but they aren't sortable currently.

        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.