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

How do I create Alias of Aliases (nested aliases) in v2?

Scheduled Pinned Locked Moved Firewalling
5 Posts 3 Posters 3.2k 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.
  • F
    firewalluser
    last edited by Feb 4, 2013, 12:42 PM

    This link http://doc.pfsense.org/index.php/2.0_New_Features_and_Changes#Aliases speaks of nest aliases or aliases in aliases.
    I'm running
    2.0.2-RELEASE (i386)
    built on Fri Dec 7 16:30:38 EST 2012
    FreeBSD 8.1-RELEASE-p13

    but I cant find any way to create nested aliases in the aliases section. I just have Hosts, Networks, Ports, URL & URL Table.

    Any suggestions?

    Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

    Asch Conformity, mainly the blind leading the blind.

    1 Reply Last reply Reply Quote 0
    • P
      podilarius
      last edited by Feb 4, 2013, 4:18 PM

      well. You create a few aliases with something like IPs or networks or even URLs. You can also do this with ports.
      Then in another alias, when it asks for a hostname, put an entry in for each of the aliases you just created. Like:

      Alias1
      Host: 10.1.1.10/32

      Alias2
      Host: 10.1.1.11/32

      Alias3
      Host: 10.1.1.12/32

      Alias4
      Host: 10.1.1.13/32

      Alias: NonStandardWebServer
      Host: Alias1
      Host: Alias4

      Alias: StandardWebServer
      Host: Alias2
      Host: Alias3

      Alias:SSLWebServers
      host: Alias2
      host: Alias3
      host: Alias4

      Then you can create rules based on what you like port wise.

      1 Reply Last reply Reply Quote 0
      • F
        firewalluser
        last edited by Feb 4, 2013, 4:41 PM Feb 4, 2013, 4:29 PM

        I think I need to add more info because when I tried using HOST(S) to nest the Aliases I get the error message

        The alias(es): Alias1 Alias2 cannot be nested because they are not of the same type.

        The Aliases I'm trying to nest are URL Tables if that matters and each URL Table Alias points to a txt file with a large number of IP Address'es or address ranges.

        Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

        Asch Conformity, mainly the blind leading the blind.

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Feb 4, 2013, 4:35 PM

          You can't nest URL table aliases, the nesting code can't include them the way it can other standard host/network aliases.

          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
          • F
            firewalluser
            last edited by Feb 4, 2013, 4:44 PM

            ok, thanks.

            Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

            Asch Conformity, mainly the blind leading the blind.

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received