Navigation

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

    FQDN

    General pfSense Questions
    2
    5
    103
    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
      mohamed8080 last edited by

      hello everyone
      Can i use FQDN on firewall rules.

      1 Reply Last reply Reply Quote 0
      • Gertjan
        Gertjan last edited by

        Like adding it here Firewall > Aliases > URLs and using the Alias created in a firewall rule ?
        So yes.

        It would work well if the FQDN resolves to a single A or AAAA - even if this A or AAAA changes ones in a while (DYNDNS).

        No "help me" PM's please. Use the forum.

        M 1 Reply Last reply Reply Quote 0
        • M
          mohamed8080 @Gertjan last edited by

          @Gertjan your are the best gertjan

          thanks but how can i resolves to a single A or AAA

          1 Reply Last reply Reply Quote 0
          • Gertjan
            Gertjan last edited by

            You don't need to.
            I was mentioning "a single A or AAAA" because you can not use an alias like "facebook.com" which can resolve to hundreds of IP's.
            A URL-Alias works fine for your site, my web site, the ones with a single IP.

            When you define an URL firewall alias, check out the resolver logs.
            You'll l be seeing lines like :
            2f919c9c-3b8a-4b41-9d81-5769b5b9efa2-image.png

            Looking a bit closer and you see a task runs every 5 minutes or so to re resolve all the URL you use. If one changes, the firewall rules are reload.

            No "help me" PM's please. Use the forum.

            M 1 Reply Last reply Reply Quote 1
            • M
              mohamed8080 @Gertjan last edited by

              @Gertjan thanks

              1 Reply Last reply Reply Quote 0
              • First post
                Last post