View Single Post
hordeman's Avatar
Posts: 698 | Thanked: 129 times | Joined on Oct 2007 @ CA
#41
Hey guys,

I hope you forgive me for reviving an old thread, but I found it while doing a search on this site for help. I am trying to do as this OP did, but am not having luck VNCing into my PC over the internet.

My setup for the server:
XP SP2
CopSSH (running standard 22 port)
UltraVNC (running standard 5900 port)
WRT54G router (forwarding port 22 to XP)

When on my local network, I can easily log into my PC via VNC on my N800; e.g., my.local.ipaddress:5900 or just my.local.ipaddress

When on the internet (tethering through my cell phone), I can easily SSH into my PC; e.g., ssh -L5901:127.0.0.1:5900 XP_username@my.internet.ipaddress. I get prompted for my password, and I successfully log in.

However, at this point when I launch my VNC viewer, I try to access my PC, but the viewer can't make a connection; I try 127.0.0.1:1, 127.0.0.1:2, localhost:1, localhost:2, etc.

I was at this for a good 4 hours last night without any luck. Any ideas what I may be doing wrong? I don't think I need to open up port on 5900 on my router, right? (That doesn't seem right to me.)

Finally, let me just add that this thread is THE BEST and MOST INFORMATIVE writeup on the internet that explains how SSH tunneling and VNC works. Nothing else on the web did a better job.

H.