WRT54G - how use port forwarding and VNC

3

2

Since I have my home network behind a WRT54G, the router has an external "real" IP address, and the PCs behind it have 192.168.xxx.xxx addresses.

I would like to be able to control one of them remotely - preferably using UltraVNC, but I am open to suggestions.

Since I can't directly address that PC from the internet, I figured I could address a port on my router and have the traffic forwarded to the PC (and the same in the reverse direction).

Is that feasible? Can anyone tell me how to do it (or point me to an URL that does)?

Thanks

unknown (yahoo)

Posted 2009-09-15T08:39:42.417

Reputation:

Migrating to superuser; follow the "migrated to" link... – Marc Gravell – 2009-09-15T08:42:46.730

Answers

2

It's quite simple, you just need to forward port 5900 TCP (the port usually used by the VNC protocol) from the router to the internal PC you want to remotely control. Thus, when you connect over the net using a VNC client through this port, the router will automatically forward the control to that PC.

Now that you have forwarded the port, you will need to find a way to easily identify your WAN IP (that is, your Internet address) online. For that, you can use the DynDNS service if you are using dynamic IP. If you are using static ip, keying in your IP in the VNC client "connect to" field should do the trick.

Cheers, let us know in the comments if you need more help.

EDIT : added two links that might help.

Port forwarding for VNC

Lifehacker : How to access a home server behind a firewall

caliban

Posted 2009-09-15T08:39:42.417

Reputation: 18 979

1

Port Forwarding UltraVNC on the Linksys WRT54G (skip the ad)

If your "real IP address" is automatically assigned by your ISP (dynamically, thus subject to frequent changes) you'll need DynDNS

Here's a tutorial: Setting Up DynDNS

Choose DynDNS as your DDNS service in the WRT54G's configuration interface:

enter image description here

However, the easiest solution would be Teamviewer (free for personal use): install Teamviewer Host on the home computer, use Teamviewer Portable from a USB stick and remotely contol your PC at home from anywhere. the installation is a two minute job and completely hassle-free!

Molly7244

Posted 2009-09-15T08:39:42.417

Reputation:

0

About port forwarding:

  1. Enter the Basic setup of your Router using any browser. Just enter 192.168.1.1 (this is the default address), then the user name and password.

  2. Enter applications and gaming

    enter image description here

  3. Here you can control the port forwarding:

    enter image description here

  4. Visit LINKSYS WRT54G port forwarding. Look for the application you are going to use port forwarding for - in your case search for VNC.

  5. Follow the steps on the website.

dhasu

Posted 2009-09-15T08:39:42.417

Reputation: 712

Please do not rollback edits unnecessarily. – Gaff – 2011-11-03T12:10:40.433