Connect through a linksys router
mbmiller "at" taxa.epi.umn.edu
Sat Nov 26 17:15:01 2005
On Sat, 26 Nov 2005, Shobuz99 wrote:
> Although not a total newbie to VNC (used since 1998); I am new to
> connecting to a VNC server through a router and am not quite sure I
> understand the process.
> For example, I run VNC (3.3.7) server on my office machine, that is
> connected to a router. The IP address says 192.168.100.1 (fictional)
> when I pass the mouse over the VNC icon. I use whatismyip.com on the
> server and it tells me the IP is 220.127.116.11 (fictional) When I go home
> at night, and try to connect through my browser and using either IP
> address and port 5800 or 5900, it will not connect. It times out.
> After reading several posts I believe I understand that I need to
> 'foreward' an IP address in the linksys router ap that is running on my
> office machine..correct? If so, which IP do I forward? The 192.168.100.1
> or the 18.104.22.168?
We have similar backgrounds: I also have used VNC since 1998 (Solaris,
mostly), and I also had some problems figuring this out. The answer is
that you tell the router to forward traffic for port 5900 (and for port
5800 if you want to be able to use the http java applet) to your local IP
which is 192.168.100.1. The IP 22.214.171.124 is really the IP of the
router. So, once configured correctly, when the router sees
126.96.36.199:5900, it will send that to 192.168.100.1:5900, and you're in!
If you need to have more than one VNC computer running behind the router,
you have to use different VNC ports for the different machines.
Michael B. Miller, Ph.D.
Division of Epidemiology and Community Health
and Institute of Human Genetics
University of Minnesota