MacOS – AFP over the internet

file-sharingmacmacossharingwifi

I'm using my MBP as a media server, and I'm connecting to it via my MBA through AFP (settings can be found in "File Sharing" tab in System Preferences).

This works fine if I am connecting locally, but I would like to be able to connect over the internet from anywhere.

The other problem is that the MBP is using DHCP and I'd rather not use VNC.

Best Answer

If you setup DynDNS and make sure that your router, firewall etc all are passing TCP port 548, you'll be able to connect from the DynDNS host/domain you create.

AFP over the public Internet isn't a great solution for anything other than very minor, lightweight file transfers, however, and if you're expecting more than a few concurrent users you should really consider a better protocol, such as WebDAV or (S)FTP, much less Dropbox, S3, Box.com, etc.