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 have a Time Capsule set up on my LAN to handle backups between my mom's computer and my computer.

Before we had the Time Capsule, I could connect remotely to a MacBook Pro that I set up as a server through the AFP protocol easily. Instead of having to worry about using the right IP, I used No-IP Dynamic Updater to assign me a DNS name that I can remember.

Since the Time Capsule was installed, however, I can no longer AFP into my mac. Instead, running the following command (hostname hidden):

afp://****

Will allow me to use AFP with the Time Capsule, and allows me to log in from there and view the storage disk on the capsule.

Is there someway to connect to my mac from outside my LAN, but specify what device I want to connect to inside my LAN? Something like:

afp://****:10.0.1.100

Where 10.0.1.100 is the LAN address of my MBP server?

share|improve this question

1 Answer 1

up vote 1 down vote accepted
+50

You could forward port 548 to your MBP server to get back the old behavior of allowing afp://** to connect to your MPB server instead of your TimeCapsule. This would definitely make your TimeCapsule AFP server inaccessible from the Internet and might (but I would hope not) make it inaccessible from your LAN. Try it and see. Here is one of many web pages describing how to set up port forwarding.

You can pick any public port you want > 1024. I'll pick 9898 for this example. Following the instructions on the linked page, in step 4 set up port forwarding like this:

  • Description: AFP access to MBP
  • Public UDP Ports: 9898
  • Public TCP Ports 9898
  • Private IP Address: the LAN address of your server, e.g. 10.0.1.100
  • Private UDP Ports: 548
  • Private TCP Ports: 548

Then you can access your server from the internet using afp://hostname:9898

share|improve this answer
    
I know how to port forward. This isn't really a solution, however, because I do not want to get rid of the AFP to the Time Capsule... –  Charlie May 13 '13 at 0:21
    
@Charlie, if your AFP client is good you should be able to forward any port (e.g. 12345) to port 548 on your MBP and then connect from the internet at afp://hostname:12345 –  Old Pro May 13 '13 at 0:30
    
How do I do that? –  Charlie May 13 '13 at 3:26
    
@Charlie, I don't know what you are asking. You said you know how to port forward and know how to connect via AFP using a connect string and I gave you the AFP connect string to use, so I don't know what else there is to explain. –  Old Pro May 13 '13 at 3:39
    
Ah sorry, I kinda know how to port forward. I usually forward the same public/private UDP/TCP ports, but I'm assuming I show,d be forwarding different ports for each one? Could you shed some light on this for me? –  Charlie May 13 '13 at 17:23

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.