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

    Improvement to fw & NAT

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 2 Posters 1.6k 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.
    • K
      kolomalo
      last edited by

      Hi all. Perhaps this is not the correct way to do this, so sorry.

      would be desirable to use hostnames on NAT and filter rules.

      Great job!! Many thanks!!

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        you can, via aliases.

        1 Reply Last reply Reply Quote 0
        • K
          kolomalo
          last edited by

          @cmb:

          you can, via aliases.

          MMmmm not. I say to use real hostnames, because exits the posibility that dhcp (or anything else) change the hostname ip.

          Captive portal manage hostnames, so I think that is a good idea to use hostnames on fw or nat too.

          It's only a suggestion…

          Thanks!!!

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            Aliases automatically update to new IPs as needed.

            1 Reply Last reply Reply Quote 0
            • K
              kolomalo
              last edited by

              @cmb:

              Aliases automatically update to new IPs as needed.

              mmm if it's true, i'll try this.

              Thanks!!

              1 Reply Last reply Reply Quote 0
              • K
                kolomalo
                last edited by

                Another improvement is to use "not" on port destination.

                For example:  How can I block all connections from one host that's don't use https port destination? (without the need to create two or more rules)

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