On 5 Dec 2005 08:42:23 -0800,
(E-Mail Removed) wrote:
>Ok. So I know my subject is not super descriptive. Here is my
>problem.
>
>I have opened up a an ssh port on an internet routeable server at my
>work. I enabled ssh forwarding on this server, and set up some
>firewall rules to allow the box with ssh connect to my work computer on
>port 5900.
Which VNC? UltraVNC, TightVNC, or the original?
You also need port 5800 forwarded on the server to use the HTTP web
browser version of VNC.
>At home, behind my DI-524, I ssh using vnc to my ssh server, and in
>putty, open a local port on my local pc to listn on port 12000. If I
>open vnc up now, I tell the vnc client to connet to 127.0.0.1, and it
>is supposed to connect to my work pc on port 5900.
Impressive. No opertunity to introduce additional complexity left
out. Well, at least you didn't add a VPN.
>What really happens, is that I get prompted for my password in vnc, it
>takes it, and then goes no further.
Sounds like TightVNC. What you're doing is connecting to yourself,
not the office server with the VNC viewer. If you think about it,
you're creating a "hall of mirrors" effect where you have a local
viewer trying to display itself inside the local viewer, etc. The
authors got tired of dealing with this effect and blocked local
viewing. I can do it with older versions of VNC, but not the current
incantations.
Incidentally, if you have more than one VNC server running at work,
you'll need to open additional ports 5801/5901 etc for each terminal
session.
>I know that this works, as I have
>done it from other networks to my work. It for some reason now work
>when I am home behind my dlink wireless router.
So, take it apart and try it piece by piece.
Start with a web browser directly to port 5800 at the work server:
http://ip_address:5800
If your Java is working, it should play.
Next, fire up the VNC viewer and try it on port 5900 directly with:
ip_address::5900 (or something like that).
Then add SSH to the pretzel but point it to the server and not to a
local IP socket number. That should also work unless your server is
setup to accept only SSH connections.
Finally, setup your port 12000 kludge on the SSH server end to point
to your SSH client (Putty). It least, that's what I think you're
doing (not sure).
>I have not set anything up on the router, and do not know very much
>about the configs on it.
The reverse port 12000 abomination will require port forwarding on
your DI-524 because in effect, the connection is made from the server
to your router. Why you would want to do this is beyond my limited
imagination.
>If anyone has any suggestions, they would be
>greatly appriciated.
Test each layer seperately. My guess is that your port 12000 kludge
is not working and probably un-necessary.
--
Jeff Liebermann
(E-Mail Removed)
150 Felker St #D
http://www.LearnByDestroying.com
Santa Cruz CA 95060
http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558