Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use an office Mac from a home Mac' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use an office Mac from a home Mac
Authored by: tji on Oct 20, '04 12:14:18AM

Maybe I'm missing something, but this seems overly complex if you have ssh access to the gateway host, and just want to connect with VNC to an internal host.

Why not just use ssh port forwarding?

ssh -L 5901:192.168.1.2:5900 workfw

Then, just connect your vnc client to localhost/127.0.0.1 port 5901, and it will go through the ssh tunnel to the internal host (192.168.1.2).



[ Reply to This | # ]
Use an office Mac from a home Mac
Authored by: legacyb4 on Oct 20, '04 10:18:44AM

That's okay for VNC which runs over TCP; the problem with SSH is that it won't forward UDP packets which is what Remote Desktop uses (at least version 1.x).



[ Reply to This | # ]
Use an office Mac from a home Mac
Authored by: datasmid on Oct 23, '04 03:21:44PM

>That's okay for VNC which runs over TCP; the problem with SSH is that it >won't forward UDP packets which is what Remote Desktop uses (at least >version 1.x).


Remote Desktop will, after a while whine about it being tunneled, allthough it is nota ware that it is. It complains that "This mac seems to be controlled by [ip-of-pppd-server]"



[ Reply to This | # ]