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


Click here to return to the 'Secure remote access to a Mac from Windows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Secure remote access to a Mac from Windows
Authored by: diamondsw on Nov 08, '05 07:05:58AM

All you need to forward on the router is port 22. VNC will be tunneled in the SSH connection and will be connecting to 127.0.0.1:5900 on the other end, already inside your home LAN. I have the same setup here at home, but I use OSXvnc as it is a MUCH faster VNC server.



[ Reply to This | # ]
Source for more info on ssh tunnels
Authored by: jmacak on Nov 08, '05 08:27:13AM
Here's a source for a movie (fairly lengthy - 20MB) about how "to use your Mac from any PC over the Internet." The page also includes links to other resources. The author uses PuTTY and other ssh utilities for Windows, OSXvnc, etc. and demonstrates a thorough step-by-step set-up process.

HOWTO Use Your Mac From Anywhere

Jim Macak
Macintosh Help and Consulting
Milwaukee, WI
www.yourmacdoc,com


[ Reply to This | # ]
Source for more info on ssh tunnels
Authored by: tonygoulding on Nov 09, '05 07:48:06AM

This is a terrific tutorial. It worked flawlessly for me.

My only issue is that VNC doesn't seem to work when you logout the Mac user or do a Fast User switch. VNC closes. When I restart it, I get:
Connection failed - error reading Protocol Version. Possible causes - you've forgotten to select a DSMPlugin and the server uses a DSMPlugin...

Did anyone else hit this and manage to overcome?
Thanks
Tony.



[ Reply to This | # ]
Secure remote access to a Mac from Windows
Authored by: sweetsdream on Nov 08, '05 09:35:51AM

I thought that too but I couldn't get things to work without forwarding 5900 as well. I use NAT at home I'm not sure if that has something to do with it.

---
Cheers,

Sweetsdream



[ Reply to This | # ]
Secure remote access to a Mac from Windows
Authored by: Lost_N_confused on Nov 09, '05 11:50:09AM
You should be able to forward any port even if you have NAT enabled. You need to use static IP addresses on your home network. You can forward port 5900 from the local machine to any port on your firewall. All you need to do is set aside a port that corresponds to each local machine.

You set your WinDoze ssh client to forward localhost:5900 to any machine you want to connect to.
Home Firewall                   Home Machine
12.12.12.1:5000                 10.1.1.50:5900
12.12.12.1:5001                 10.1.1.51:5900
12.12.12.1:5002                 10.1.1.52:5900
The only problem you might have is the proxy server blocking your WinDoze ssh client. I take classes at the local college and get tired of their goal to save me from the evil Internet and do this all the time. I chat and connect to my Macs at home and work to surf sites that are blocked.

[ Reply to This | # ]
Secure remote access to a Mac from Windows
Authored by: sweetsdream on Nov 09, '05 11:57:13AM

The work proxy server does block port 22 but PuTTY can be setup to go through the proxy.

---
Cheers,

Sweetsdream



[ Reply to This | # ]