Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

RafaelT

macrumors 65816
Original poster
Jun 9, 2010
1,169
15
NM
I am looking for a simple VPN solution. I have a macbook at work (always on) that I would like to use as the server and another macbook that travels with me that I would like to connect from.

I searched and couldn't find anything, if I missed it please point me in the right direction.

I know nothing about VPN's, but I do have some other networking knowledge so if you can dumb it down for me that would be appreciated ;)

I would really appreciate any help that you can give me.

Thanks.
 
SSH tunnel

While not a true VPN solution, you can get a lot done securely with SSH tunnels, and they are very easy to setup. For example, assuming you have "Remote Login" turned on in the Sharing settings in System Preferences on the remote machine:

ssh -NfD 1234 yourusername@yourremotehost

Gets you a SOCKS proxy through your SSH connection on port 1234 that you can then setup in the Network portion of System Preferences for things like your web browser, or any other app that supports the global proxy settings.

Also, you can forward ports directly, so for example, let's say you wanted to access screen sharing on the remote machine:

ssh -L5901:localhost:5900 yourusername@yourremotehost

That would then allow you to go to the "Go"->"Connect to Server", and type in vnc://localhost:5901 to get to the remote machine's VNC server.

You can do similar things for other services like AFP, etc. And you aren't limited to only forwarding to the remote machine. You can forward the port to any other machines on the remote network as well. And best of all, it's all encrypted (between the client and your remote machine, anyway)

Cheers!
 
Your issue here is likely to be the work network. Unless your work computer has a publicly routable IP, but I'd guess it is behind a firewall and has a NAT'ed address. In this case you're going to be forced to talk to the IT staff to get things setup.

.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.