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

    Re: NAT vs ROUTE to public NIC interface

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 2.0k 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.
    • S
      Supermule Banned
      last edited by

      Funny thing i 1:1 NAT…..

      On the frontpage it is talking about IP adresses.....When you click add rule, then it is talking about subnets......

      Why??

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        Because you can 1:1 NAT a whole range with a single rule.
        If you want to 1:1 NAT only a single IP then write it as a.b.c.d**/32**

        (which is btw explained on the config page itself: "Enter the external (WAN) subnet for the 1:1 mapping. You may map single IP addresses by specifying a /32 subnet.")

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • S
          Supermule Banned
          last edited by

          Yes but it does not accept WAN adress as external IP…..

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            Yes of course not.
            On the WAN are already things running like the webGUI.
            1:1 NAT is to be used with additional IPs.
            If you want to forward ports from the primary WAN you need to use normal port forwards. (Here the same: you cannot forward already used ports).
            Why do you need 1:1 NAT anyways?
            Usually you can do it more elegantly with the use of aliases.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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