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


Click here to return to the '10.5: How to use ssh using 'Back to My Mac'' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: How to use ssh using 'Back to My Mac'
Authored by: sabi on May 01, '08 01:53:48AM
It's using a combination of IPsec (for the tunnel) and IPv6 (for routing), with UPnP or NAT-PMP to open a port if you're behind NAT. The IPsec connection is typically made over UDP port 4500 though if that port is in use, it will use another port.

http://www.macworld.com/article/60945/2007/11/backtomymac.html

http://docs.info.apple.com/article.html?artnum=307024

The concept is really elegant and while the implementation was a bit flaky for a while, since 10.5.2 it's been basically reliable for me and it's so nice to no longer need to set up a VPN just to talk to my own machine at home.

You can see the IPsec configuration established by looking at the files in /etc/racoon/remote (you'll need to be root/use sudo to see them, since they contain a shared secret). You'll also find this shared secret in the System Keychain as "Back to My Mac key".

[ Reply to This | # ]