Connect to local computer through external ip speed

1

1

If I connect to my server over VNC with my external IP Address (I have port forwarding set up), it seems just as fast as if I had connected to it with the internal IP Address. This also true with other protocols, but I'm using VNC as an example.

Why is this? Does the router know its own IP Address and just redirect it to internal IP Address?

NOTE: Connecting to my server over VNC from elsewhere is noticeably slower--so its not like my upload speed is really good.

agz

Posted 2013-03-10T01:00:53.367

Reputation: 6 820

Answers

1

Why is this? Does the router know its own IP Address and just redirect it to internal IP Address?

I think so

Many routers don't do that and so for example, in that situation you have to use the internal ip, when you are inside your LAN, or it won't work at all.

open a cmd window and do

C:\>tracert [your ext ip]

you'll see the route, you could paste it in. You might find it's all LAN.

barlop

Posted 2013-03-10T01:00:53.367

Reputation: 18 677

maybe disabling "nat redirection filtering" allows it, or something. It seems to be related to that setting. that may be the name. or disabling that may be the feature. – barlop – 2013-03-10T01:17:33.467

may be called "NAT reflection" – barlop – 2013-03-10T01:21:47.243

The result of the command: Tracing route to cpe-24-24-174-153.socal.res.rr.com [24.24.174.153] over a maximum of 30 hops:

1 2 ms 1 ms 1 ms cpe-24-24-174-153.socal.res.rr.com [24.24.174.15 3] – agz – 2013-03-10T02:03:51.470

1@agovizer ok it's just showing your external IP but other than that, it's not even leaving your LAN, so this proves your hypothesis. And by the way, your router , and any router even one that doesn't do this feature(and only sees the internal ip from the lan), any router, has two IP addresses, one is internal one(LAN side) one is external(WAN side). (really serious routers have more IPs and connect many networks not just a LAN and a WAN). – barlop – 2013-03-10T10:57:34.840

ok cool, but whats the difference between http://cpe-24-24-174-153.socal.res.rr.com/ and http://24.24.174.153 both send me back to my server

– agz – 2013-03-10T17:43:24.657

also is there a name or term for this redirection? – agz – 2013-03-10T18:15:29.847

" cpe-24-24-174-153.socal.res.rr.com and 24.24.174.153" one is the hostname (notice the ip happens to be written into the hostname to ensure the hostname is unique), and one is the ip. See my first two comments to this/my answer for names/terms or possible names/terms for this redirection. one name/term may be disabling nat redirection filtering. another may be NAT reflection. – barlop – 2013-03-11T01:36:19.867

let us continue this discussion in chat

– barlop – 2013-03-11T01:38:00.863

0

It makes sense actually.

The big things which will slow down VNC (and TCP communications in general) are 1) Size of the pipe between the 2 connections. 2) Latency 3) Packet loss.

In the case of "redirecting" through the external IP via a routing, assuming you have a half-decent router - which you obviously do - the latency increase would not really be noticeable (often < 1ms), the size of the pipe still huge, and no packet loss - so things will go very fast.

Doing address translation is not a very CPU intensive task either.

davidgo

Posted 2013-03-10T01:00:53.367

Reputation: 49 152