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

    Nested Aliases

    Firewalling
    3
    4
    831
    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.
    • T
      Trel
      last edited by

      Can Aliases be nested?

      For example, could I have "malicious_ips", "ad_servers", "other_things"

      and then have an alias "block_these" that contains the previous three aliases which I could then write a rule for?

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

        https://doc.pfsense.org/index.php/2.0_New_Features_and_Changes
        Search for "nested" - answer = yes.

        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
        • T
          Trel
          last edited by

          Excellent, thank you.
          That simplifies a lot of my rules

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

            That simplifies a lot of my rules

            Damned right.  It's nice to have an alias like Web_Servers, for example, that holds a bunch of other aliases that point to IP addresses.

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