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


Click here to return to the '10.5: Screen share with multiple Macs behind one NAT' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Screen share with multiple Macs behind one NAT
Authored by: spinkb on Aug 08, '09 01:41:32PM
Summary of hint with SSH.

Forward port 22 on your router to one of your internal machines. For example my main server is 192.168.0.50. So in my router, I forward port 22 to 192.168.0.50.

Now on that machine, allow for "Remote Login" which is SSH.

Now before making a connection, connect using the Terminal with SSH:

ssh -L 5901:192.168.0.51:5900 username@your_ip_address

Once you have connected the SSH, use the OS X Finder, and do a connect to server, and enter:
vnc://127.0.0.1:5901/

If you wanted another machine, change this line and specify a different machine:
ssh -L 5901:192.168.0.95:5900 username@your_ip_address


That's it. Of course, my own software, CrushFTP can make this even easier to do with its ability to do tunneling over HTTPS and has a GUI to configure it...its available in my CrushFTP 5 beta. But the free method using SSH is spelled out above.

http://www.crushftp.com/beta.html

--Ben



[ Reply to This | # ]