Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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.

share|improve this question
add comment

5 Answers

up vote 2 down vote accepted

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.

share|improve this answer
    
I ended up using No-IP, but same basic solution. –  Charlie Jan 22 '12 at 0:04
add comment

If you sign in with the same iCloud / Apple ID on both systems, and enable File Sharing in System Preferences > Sharing on the Macbook Pro, this is exactly the use case Back To My Mac is supposed to fulfill.

share|improve this answer
    
The other laptop is on Snow Leopard (and needs to stay that way for now), and it looks like you can't use Back to My Mac between Lion and SL: support.apple.com/kb/HT4867 –  Charlie Jan 21 '12 at 14:16
add comment

Your MBP would require a static local IP for any file serving outside of your local network. Your router needs to know where to send the requests coming into it's WAN port.

For serving files across the internet I'd suggest WebDAV over AFP. Either way I'm not sure how well serving large media files across the internet will perform unless you have an awesome uplink connection!

Or you could just use iTunes match...?

share|improve this answer
add comment

There's an app called ShareTool that should do what you need.

  • Shares your network quietly in the background.
  • Can be configured to run as a background daemon.
  • Automatic recovery from power failure.
  • All traffic travels through an encrypted SSH tunnel.
  • No IP addresses or port numbers to remember.
  • Access your Bonjour services remotely.
  • Remote Printing.
  • iTunes Home Sharing across the web fully supported.
  • Connect to multiple networks at once.
  • Save login information to the Keychain.
  • On-the-fly compression for maximum performance.
  • Browse the Web securely from any WiFi hotspot.
  • Transparent SOCKS/HTTPS proxy support.
  • Supports VPN connections.
  • Supports Bonjour over VPN connections.
  • Support for PPC systems.
  • And much more!

It looks like Yazsoft is no more but another company Bainsware is continuing with this product.

share|improve this answer
    
Link doesn't work anymore. –  Rob van der Veer Mar 16 at 13:33
    
See new edits :( –  afragen Mar 23 at 15:18
add comment

AFP works over the internet assuming that port 548 is not blocked by your ISP. If you are using a private IP behind a NAT you'll need to forward port 548 to the computer that you want to connect to on the router. Using DHCP makes this much more difficult. If the DHCP requirement is so that your computer can join other networks easily, you might want to create a DHCP reservation for your computer on the router so that it always receives the same IP address.

That being said, the AFP experience in the Finder is pretty poor with a slow connection to the server (which is common when connecting over the internet). Using SFTP (really SSH/Remote Login) or another protocol and a standalone client app such as Transmit or Cyberduck would be a much more responsive experience, but not as integrated as the Finder and AFP.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.