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

    Alias Host Name for Firewall Rule

    Scheduled Pinned Locked Moved Firewalling
    7 Posts 3 Posters 678 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.
    • M
      mikela
      last edited by

      Hello, i tried to create a firewall rule using an alias fully qualified domain name to filter tcp communication on a port but it doesn't work unless you use an IP address. I cant seem to find anything in the firewall logs to show me the issue. Maybe its a bug or the firewall cannot verify the domain name quickly enough? Has anyone else had an issue like this using alias's?
      Thanks

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by

        Anything in Diagnostics -> Tables aliasname ?

        Screenshot 2019-06-19 at 13.41.17.png

        Screenshot 2019-06-19 at 13.41.31.png

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        1 Reply Last reply Reply Quote 0
        • M
          mikela
          last edited by

          Thanks for getting back to me.To get by I created the alias from the dns lookup tool on my pfsense firewall. Below is the table return:
          fd95b1e1-4eab-4778-9631-323f1c6de81f-image.png

          1 Reply Last reply Reply Quote 0
          • NogBadTheBadN
            NogBadTheBad
            last edited by NogBadTheBad

            It's being used "Aliases become Tables when loaded into the active firewall ruleset. The contents displayed on this page reflect the current addresses inside tables used by the firewall."

            Are you not seeing hit the firewall rule you created with the alias, if so kill the firewall states.

            Post a screenshot of your rules.

            You can drag a screenshot into the reply.

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

            1 Reply Last reply Reply Quote 0
            • M
              mikela
              last edited by

              These are my alias's and I highlighted the one i want to use that doesnt work. Below is also the table return for that alais. It only returns one IP address?
              eca0fd1d-b9a2-4b02-b709-9170d56d8f4e-image.png

              e57e6143-c7c6-4dd3-964b-c64a75075065-image.png

              1 Reply Last reply Reply Quote 0
              • RicoR
                Rico LAYER 8 Rebel Alliance
                last edited by

                Hmm maybe you want to adjust Aliases Hostnames Resolve Interval in System > Advanced > Firewall & NAT

                -Rico

                M 1 Reply Last reply Reply Quote 0
                • M
                  mikela @Rico
                  last edited by

                  Looks like that alias was corrupt for some reason. I re-created it and made sure it looked proper in the tables and now i'm good to go. Thanks so much for all your help.

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