5 Replies Latest reply: Feb 9, 2014 8:08 PM by Tracy Reynolds
Tracy Reynolds Level 3 Level 3 (545 points)

I did this years ago but I don't remember the address I used.  CMD/K opens the dialog box.  My computer I want to connect is behind a modem and a router.  What do I type in the for address?  There is more than one computer on my home network.  All hard drives have unique names.  I have a DNS Alias IP address.

 

I want to do this with my computer when I am away from home.  Like I said, I did it years ago but I don't remember the address I need to use.  I've searched and everything I find doesn't sem to be what I'm looking for.  The away computer is running 10.6 and the home computer is running 10.5.


Mac mini, Mac OS X (10.6.8)
  • 1. Re: How do I connect to server (my other computer)?
    Tracy Reynolds Level 3 Level 3 (545 points)

    Really?  Nobody knows what IP address & other info to enter?

  • 2. Re: How do I connect to server (my other computer)?
    Camelot Level 8 Level 8 (45,790 points)

    No one else CAN know what address to enter. No one knows your computer setup, your ISP connection, or anything else. You're asking people to tell you where to find your needle in a huge, huge haystack. Not going to happen.

     

    You have to first find out the public IP address of your server (that is, the public IP address that your router uses to map traffic from the internal clients to the internet). You can usually find this via the admin interface of your router, or by hitting something like http://whatismyip.com/ from the server itself.

     

    That will tell you the addres to use. You then need to check your router's configuration to see whether you setup port forwarding to allow external connections (from the internet) to get to your server. From your post it sounds like you did this once before, so you might be all set, but you'll need to check that since no one else here knows your address.

  • 3. Re: How do I connect to server (my other computer)?
    Tracy Reynolds Level 3 Level 3 (545 points)

    I'm not asking for specific info.  Do I enter http, ftp, smb, afp?  I know my IP address and I have a Dynamic DNS address so I can always connect.  Do I enter my username or folder name or hard drive name?

     

    ???://my dynamic IP address (which I know)/????

     

    is what I'm asking.

  • 4. Re: How do I connect to server (my other computer)?
    MrHoffman Level 6 Level 6 (12,455 points)

    Camelot is correct.  You are asking for site-specific info.

     

    I'm going to assume you're connecting remotely into your own network, and make some guesses, and hopefully help you recall how your network was set up.

     

    What you enter depends on what access you've opened up into your network.

     

    You can certainly try all the protocols you've listed.  ftp, http, and the rest.  (Well, not ftp.  Avoid ftp.  ftp is a pile of gnarly problems, and one of the best ways to make sure that anybody monitoring your network connections from the coffee shop will know your login credentials.   On a good day — one where your password and user aren't compromised — you'll still have to battle with getting the emphemeral port range working and open on either the client end or the server end, and through all of the intervening firewalls.   As should be obvious, I'm not a particular fan of ftp.  Given a choice, I'd use sftp, or maybe ftp via a VPN.)

     

    If your NAT device is correctly configured and at (more or less) its default settings, then absolutely everything you try for your remote access will be blocked. 

     

    Everything should be blocked, too, as you really don't want more than absolutely necessary open, as there are more than a few folks that would look to access your server.   The folks attempting remote access will generally find and try any open port, too.  Even an open port associated with a relatively secure protocol can still have vulnerabilities, whether it's a protocol weakness that somebody discovers, or a weak password.

     

    Now if you want to enable remote access of file services or such, then your NAT box will need to have TCP port 548 (AFP) configured and opened through, or whatever ports for whatever other service you want

     

    Beyond being insecure, ftp is a pain in the rump to open, as you either need a device that sniffs the traffic and opens the ports necessary, or that triggers on a connection, or you'll need to have the whole of the ephemeral port range open.

     

    More appropriate for various remote-access contexts would be a VPN, either established via what's known as NAT pass-through (mapping the VPN ports through your NAT box to your OS X Server, and configuring the VPN server on your OS X Server box), or via VPN established directly into whatever gateway box you're using, if your gateway is mid-grade or more expensive box and has an integrated VPN server.   Not all of the NAT boxes have VPN support.

     

    If you're in the Finder Connect To Server prompting:

    • If AFP (TCP port 548) is already open, then afp://youraddress
    • If CIFS/SMB (TCP port 445) is open, then smb://youraddress

     

    But only somebody that's scanned your network or set up your network will know your configuration and which ports to use, both because of the NAT settings as well as any firewall you might be running on the server — OS X Server 10.6 could and variously did have the firewall service configured and running.

     

    If you want to see what ports are already open, there are various remote services that offer that test.  For instance, log into the server and use your web browser there to connect to GRC and run their Shields Up test; you'll need to run that port scan from within your network.   That'll tell you which ports are open through into your system.

  • 5. Re: How do I connect to server (my other computer)?
    Tracy Reynolds Level 3 Level 3 (545 points)

    Well, I mis-typed.  I'm asking for what goes in front of :// and after my IP address.  Is it my user name?  Is it the folder I'm trying to access?  Is it the hard drive I'm trying to access? 

     

    Finally!  I went to my router and opened port 548 to the computer I want to access.  I used afp://my ip address and it went right to where I wanted to connect.

     

    I've spent two days searching and found much information, some of which indicated I needed something after my IP address.  It looks like I don't.