Solution for: #106: Access Apple AirDisk over WAN

Use SSH port forwarding to access AirDisk

This trick works if you have an SSH server on that same LAN, and SSH is available over the Internet (which is usually safe and can be monitored via denyhosts). OpenSSH has a nifty function called port forwarding, which maps a local port to a connection from the SSH server to a third server of your choosing. It accesses the third server as your SSH server, which allows LAN access if your SSH server is on the LAN.

For example, I have my laptop A somewhere outside and I want to access my AirDisk. My AirDisk is accessible by AFP running on I have a second machine running on that LAN, equipped with an SSH server and publicly accessible via the DNS address

To make the AirDisk accessible, use this incantation:
ssh -L 9999:

This creates a port forwarding setup on your local port 9999 to port 548 via home1. When you connect to localhost:9999, the request is passed through home1 to The AFP share is now accessible only on the local loopback (and not exposed to the world all the time), and secured via SSH.

It's a little slow, since data has to bounce between laptop, home1, afp server, home1, laptop. However, I just want to grab some files while away on a hotel connection, not view HD movies or something.

References used: