Discussion: Question about nat
Afficher un message
Vieux 12/03/2006, 18h42   #3
Barry Margolin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Question about nat

In article <dv1bgh$15l$1@nsnmpen3-gest.nuria.telefonica-data.net>,
"dan" <x@x.com> wrote:

> Hi, I have a question about nat functionality.
> The problem is that I opened a port to access my private network. I put a
> server to listen on port 10000 and then I get my public ip address (using a
> service such as whatismyip.com) The problem is that when I telnet to this
> public ip and port, the server in my machine doesn't get anything, but if I
> try this from "outside", then the server receives the conection! How can
> this be? Why putting the public ip inside my private network doesn't work?
> Shouldn't this be treated as any other conection? (Of course, if I connect
> to the loopback or private ip, the server receives ok)


Most NAT routers only recognize the public IP when they receive packets
on the outside. When you're on your LAN, you have to use the private IP.

There are some routers that will forward the public IP on either side,
I've heard that D-Link does.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
  Réponse avec citation
 
Page generated in 0,05026 seconds with 9 queries