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

    Aliases FQDN + IP addresses

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 3 Posters 580 Views 3 Watching
    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.
    • B Offline
      BarronC
      last edited by

      Running 2.4.4-RELEASE

      I am having a problem with an alias that contains both fqdns and IP addresses, it does not work in firewall rules. If I use all IP addresses OR all FQDN it functions fine.

      Am I missing something?

      1 Reply Last reply Reply Quote 0
      • A Offline
        akuma1x
        last edited by

        I don't know if there's a fix for that. I only use aliases for either IP addresses, or FQDNS names.

        You could make one alias that has all the IP addresses, and another that has all the FQDNS names. Then, make 2 separate firewall rules using each one of those aliases.

        Jeff

        1 Reply Last reply Reply Quote 0
        • johnpozJ Offline
          johnpoz LAYER 8 Global Moderator
          last edited by johnpoz

          Doesn't work why? Look in your table - what does it show for this alias?

          0_1546894543391_testboth.png

          Sure looks to be working to me... Lets see your firewall rule. All an alias is a table... Look in the table - does it have the IPs it should have.. If so then it works, maybe you didn't use it correctly in your rule?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 25.07 | Lab VMs 2.8, 25.07

          1 Reply Last reply Reply Quote 0
          • B Offline
            BarronC
            last edited by

            I checked the tables and there were some (empty) old entries, I took the opportunity to update and reboot. The ip addresses on mixed fqdn/ip aliases look fine and the empty tables are gone. Perhaps I typed something wrong.

            Anyhow, I forgot about the tables tool, thanks johnpoz

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