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

    NAT: 1:1: Edit > WAN net&WAN address

    Routing and Multi WAN
    5
    5
    8.9k
    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.
    • I
      Infinity_bg
      last edited by

      Hi, all! I can't get the difference between "WAN net" and "WAN address", "LAN net" and "LAN address" and ext., when defining source/destination fields of NAT rules. Any help would be most appreciated. Thanks !

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        "net" is the entire subnet on an interface, e.g. x.x.x.0/24. "address" is only the one specific IP address on that interface, e.g. x.x.x.2

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          Don't make the same mistake I did and assume that WAN net = Internet.  As Jim said, WAN net is only the particular subnet that your WAN IP address is part of and not the Internet as a whole.

          1 Reply Last reply Reply Quote 0
          • A
            Asmae
            last edited by

            i still don't understand the difference :-\ !! would you like to give me more explainations
            i will be thankfull

            1 Reply Last reply Reply Quote 0
            • P
              P3R
              last edited by

              LAN address is only the specific ip address you choose for your LAN interface. Example: 192.168.0.1
              LAN net is the whole ip subnetwork in which your LAN address reside. Example: 192.168.0.1;192.168.0.2;192.168.0.3; and up to ;192.168.0.254 (assuming the same LAN address as above and a /24 ip subnet = mask 255.255.255.0)

              It's very hard to explain better when you don't tell us with exactly what parts of ip networking you do understand and what you don't.

              Do you know what a ip subnet is? Are you familiar with the convention of describing subnets as /16 and /24 and do you understand the difference between them?

              If you do, please tell us what ip address and subnet you use on your LAN interface.

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