I'm not sure I'm following.  Are you sure you have port forwarding working
at all?

Are you running VNC on Linux?

Are you sure you're note running a service/process/daemon on 5901 locally?

For a truer test, try
"ssh -L 5955:remotevncserver:5901 user@remotesshserver"

Then try connecting VNC to localhost:55.

You should be golden.

-ME

----- Original Message -----
From: "Todd A. Jacobs" <[EMAIL PROTECTED]>
To: "VNC List" <[EMAIL PROTECTED]>
Sent: Monday, January 29, 2001 2:47 AM
Subject: Why *local* port forwarding?


> In order to get VNC to work over SSH, I need to forward the local
> connection to the remote host instead of the other way around. This seems
> a little counter-intuitive to me, and I was hoping someone could explain
> why it works this way.
>
> Since the VNC server is running on port 5901 on machine foo, why am I not
> forwarding 5901 on foo to 5901 on localhost? Doing so doesn't work (I keep
> making that mistake) but sending localhost:5901 to foo:5901 does the job
> properly.
>
> Please enlighten me.
>
> --
> Todd A. Jacobs
> Senior Network Consultant
> ---------------------------------------------------------------------
> To unsubscribe, send a message with the line: unsubscribe vnc-list
> to [EMAIL PROTECTED]
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to