Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] TCP/IP Port mapping

2005-07-26 by Alex Holden

On 26 Jul 2005, at 18:29, Mark Butcher wrote:
> The first request
> from an external source is translated by the router (gateway) to a
> UDP frame with the routers own internal IP address [typically
> 192.168.0.1] with the same port number as sent by the external
> requestor. The device sends answers back to the router's IP address
> to the same port number and it is translated by the router to the
> external IP address,

In my experience, port forwarding through a NAT gateway doesn't  
usually work like this. On the routers I've used, the source IP and  
port of incoming UDP packets aren't rewritten. Only the destination  
IP is changed (to the internal IP that it's forwarding to). Outgoing  
packets just have their source IP rewritten to the gateway's external  
address. What router are you using?

> I have a Windows 2000 computer
...
> the server has 2 Ethernet connections (redundancy) and I believe it
> switches between the 2 because I could see that the port address was
> changing in sympathy with losing and re-finding the connection,

Yuck. It shouldn't do that, but I'm no Windows expert so I don't know  
what you need to do to fix it.

-- 
------------ Alex Holden - http://www.alexholden.net/ ------------
If it doesn't work, you're not hitting it with a big enough hammer

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.