September 20th, 2004, 04:18 PM
Using 'remote desktop tools' like VNC behind a router
I have a wireless router sharing the internet connection, my personal computer is running VNC, I would like to access the VNC outside the wireless lan, but the problem is how to access the personal computer.. I have read about port-redirection, and I assume that the router have the possibilty of port-redirection. (54mbt D-link)
Can anyone help me about the concept off 'port-redirection'?
September 20th, 2004, 04:56 PM
The port mapped on your router's Wide Area Network IP address is directly mapped to the same / or different port of an internal IP address.
Router seen by Internet as 22.214.171.124.
You have a PC on the Local Area Network with IP 126.96.36.199.
You have a Web server on the Local Area Network with IP 188.8.131.52.
You would want to map 184.108.40.206:80 directly to 220.127.116.11:80 for HTTP traffic.
Learn more here. The whole Network Address Translation explanation starts several pages back, here.
Static NAT is what you're after. Note the ports (:80) need to be included but aren't in the examples on these pages, however, they should give you an introduction.
Tomorrow is another day for yesterdays work!
September 20th, 2004, 05:01 PM
Simon's got it right - for VNC, if I'm remember correctly, the ports you'll want to map are 5800 and 5900, but you'll want to double check those. I'm assuming that you have logged into your routers setup in the past, so I'm hoping you're at least familar with changing it's setup and what not. Have a look through the configuration of the router so that you can see where those port mappings can be changed.
September 20th, 2004, 05:38 PM
Thanks! I will try to setup the router soon, thanks again..
September 20th, 2004, 10:48 PM
You may also want to look into using a dynamic DNS service, so you can map a name to your routers IP. I use http://www.dyndns.org/ , itís free and it works well. That and port forwarding make it easy for me to use Remote Desktop from work to home so thereís no reason it should not work with VNC (unless those ports are firewalled somewhere along the line).