I am configuring a router to redirect TCP port 5900 (yes, this is for VNC) to a specific IP address on the network. Here is what I have:
From a local computer on the same network, I can telnet
to 192.168.1.64 (port 5900) just fine. However, when trying to telnet
to the machine (port 5900) using its external IP address, it doesn't work. (The connection times out.)
The router is a Gigaset SE567, if that helps.
You're running into the hairpin NAT problem. The problem is the following:
The gateway needs to be smart enough to translate internal source addresses to itself so it can handle the correct translations. Consumer routers generally don't support this operation. The usual method is to just use the internal IP when connecting internally, or use a split DNS configuration.