Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. NAT

NAT

Scheduled Pinned Locked Moved The Lounge
comgame-devsysadmintutorialquestion
7 Posts 7 Posters 0 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    CataclysmicQuantum
    wrote on last edited by
    #1

    If you have a router with NAT, and lets say I have a program that listens for a response from a server on the internet. How does the server know how to reach the client? If you have four computers how can an outside computer differentiate and send a signal to one of the individual computers?

    The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

    _ J D A L 5 Replies Last reply
    0
    • C CataclysmicQuantum

      If you have a router with NAT, and lets say I have a program that listens for a response from a server on the internet. How does the server know how to reach the client? If you have four computers how can an outside computer differentiate and send a signal to one of the individual computers?

      The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

      _ Offline
      _ Offline
      _Damian S_
      wrote on last edited by
      #2

      Well, it depends on the specifics of the software you are using. If it's expecting information on a particular port, you may need to make a static route in your NAT router to point to the correct computer. If you are just generally musing how it works, it's because the router passes the information along (multicasts it) and the computer that wants it grabs onto it, the other computers on the subnet simply ignore the multicasted information. This is essentially the difference between a router and a switch. A switch tends to direct traffic, the router simply shunts it along.

      ------------------------------------------- Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Just bugger off and leave me alone!!

      H 1 Reply Last reply
      0
      • C CataclysmicQuantum

        If you have a router with NAT, and lets say I have a program that listens for a response from a server on the internet. How does the server know how to reach the client? If you have four computers how can an outside computer differentiate and send a signal to one of the individual computers?

        The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

        J Offline
        J Offline
        Jorgen Sigvardsson
        wrote on last edited by
        #3

        Google it.

        -- Kein Mitleid Für Die Mehrheit

        1 Reply Last reply
        0
        • C CataclysmicQuantum

          If you have a router with NAT, and lets say I have a program that listens for a response from a server on the internet. How does the server know how to reach the client? If you have four computers how can an outside computer differentiate and send a signal to one of the individual computers?

          The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

          D Offline
          D Offline
          DemonPossessed
          wrote on last edited by
          #4

          A network client application such as a web browser uses a randomized source port address which is not in the range of standard server application port numbers when it establishes a connection with a server. When it sends packets through the router to the server, the NAT enabled router keeps track of which private host IP address used that source port. Then when traffic comes in from the outside, the router examines the destination port, and if it is the same as the source port used by one of the hosts, it then forwards the traffic to the correct private host address. The only way to reach hosts inside the private network from the outside is to set up static port mapping on the NAT router to send all traffic destined to a specific port number to a specific private IP address.

          1 Reply Last reply
          0
          • C CataclysmicQuantum

            If you have a router with NAT, and lets say I have a program that listens for a response from a server on the internet. How does the server know how to reach the client? If you have four computers how can an outside computer differentiate and send a signal to one of the individual computers?

            The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

            A Offline
            A Offline
            achimera
            wrote on last edited by
            #5

            NAT[^]

            1 Reply Last reply
            0
            • C CataclysmicQuantum

              If you have a router with NAT, and lets say I have a program that listens for a response from a server on the internet. How does the server know how to reach the client? If you have four computers how can an outside computer differentiate and send a signal to one of the individual computers?

              The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Which NAT?

              Morality is indistinguishable from social proscription

              1 Reply Last reply
              0
              • _ _Damian S_

                Well, it depends on the specifics of the software you are using. If it's expecting information on a particular port, you may need to make a static route in your NAT router to point to the correct computer. If you are just generally musing how it works, it's because the router passes the information along (multicasts it) and the computer that wants it grabs onto it, the other computers on the subnet simply ignore the multicasted information. This is essentially the difference between a router and a switch. A switch tends to direct traffic, the router simply shunts it along.

                ------------------------------------------- Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Just bugger off and leave me alone!!

                H Offline
                H Offline
                hackerunknown_001
                wrote on last edited by
                #7

                _Damian S_ wrote:

                A switch tends to direct traffic, the router simply shunts it along.

                Or you mean the converse?

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups