Technical Discussion
  >> Apple Issues


Register (or login) on our website and you will not see this ad.


These posts have been archived and can no longer be replied to or modified.
Pages in this thread: 1 | 2 | 3 | (show all)   Print Thread
Moderator billford
(moderator) Mon 10-Aug-09 10:40:45
Print Post

Remote access


[link to this post]
 
Some time ago I asked in here about accessing my home iMac from a laptop when I'm away from home, but I can't find it now frown.

ISTR that setting up a VPN was the recommended option, but it was really a bit of overkill and looked horribly complicated... but the need has come up again.

I only really need access to my Documents folder to retrieve files... how easy (and secure) would it be to set up an ftp server on the iMac? Does OS X include an ftp server?

OS X 10.5.8, obviously a good strong password and anonymous ftp disabled!

~~~~~~~~~~~~
Bill

[email protected]
The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
Standard User deleted
(deleted) Mon 10-Aug-09 11:46:41
Print Post

Re: Remote access


[re: billford] [link to this post]
 
Options include:

1 Mobile Me, and Back to my Mac. I've not used it, so can't help with setup.

2 System Preferences->Sharing. Enable File Sharing. Click Options to choose which servers to enable.

- AFP (Apple File Protocol) lets you connect from a remote Mac using Finder.

- FTP is a standard, non-secure FTP server.

- SMB is a Samba server, and allows Windows Explorer connections from remote PCs.

Check that your settings in System Preferences->Security->Firewall allow File Sharing protocols.

Your Mac is oblivious about whether the remote system is on your LAN or connecting across the Internet. Making the Internet connection work is the job of your router.

The main challenge is that you need to port map incoming requests from the Internet through your router to your Mac's local IP address. AFP or SMB use a single port - 548 or 139* respectively. FTP is more complicated as it sets up secondary data ports, and your router needs to be able to keep track of this.

Security:

Access to these file services are all as secure as your password, and data is transferred in clear. You can improve security by setting up SSH tunnels using Public Key Encryption. This sets up a trust relationship between your Mac and the remote system, and encrypts data flows between them. You then only need to enable SSH port (22) forwarding through your Internet router. Google for SSH tunnels and OS X to get details of this setup. FWIW, I use an app called Tunnel Builder to define the tunnels I need on a system I manage using SSH.

* SMB can also use port 445, but I think OS X listens on netbios-ssn port 139.
Standard User defcom
(experienced) Mon 10-Aug-09 12:21:17
Print Post

Re: Remote access


[re: billford] [link to this post]
 
https://secure.logmein.com/products/free/Default.asp...

----------------------------------------------------------------
iMac 24" 3.06GHz 4Gb/ram, OS10.5.7, Netgear DG834N

BE* Unlimited


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Mon 10-Aug-09 12:23:08
Print Post

Re: Remote access


[re: defcom] [link to this post]
 
YEs, I use Logmein as well. It's useful for controlling and monitoring the system remotely, but the free version doesn't support file transfer.

Edited by deleted (Mon 10-Aug-09 12:24:02)

Standard User defcom
(experienced) Mon 10-Aug-09 12:24:18
Print Post

Re: Remote access


[re: deleted] [link to this post]
 
Ah, dont use it so cant tell.

----------------------------------------------------------------
iMac 24" 3.06GHz 4Gb/ram, OS10.5.7, Netgear DG834N

BE* Unlimited
Moderator billford
(moderator) Mon 10-Aug-09 12:27:02
Print Post

Re: Remote access


[re: deleted] [link to this post]
 
Thanks Alan, good comprehensive reply, more options than I expected smile

AFP looks the easiest way to go, I'll practice on the LAN before venturing further afield tongue

One thing I'm not clear about- Check that your settings in System Preferences->Security->Firewall allow File Sharing protocols.

How do I do that? The firewall is set to "Set access for specific services and applications" with a few apps enabled, I can't see how to add a protocol. Or is it automatic if AFP File Sharing is enabled?

Port forwarding is OK, I've done that before for http and Apache... I'll investigate SSH when I've got the rest of it working, one unknown at a time is my motto tongue

~~~~~~~~~~~~
Bill

[email protected]
The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
Moderator billford
(moderator) Mon 10-Aug-09 12:29:00
Print Post

Re: Remote access


[re: defcom] [link to this post]
 
Thanks, but I've just seen Alan's comment about the free version... paying for it isn't on the options list at the moment tongue

~~~~~~~~~~~~
Bill

[email protected]
The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
Standard User defcom
(experienced) Mon 10-Aug-09 12:33:29
Print Post

Re: Remote access


[re: billford] [link to this post]
 
Have uploaded some bumf here for you to download https://www.yousendit.com/download/Y1RwK2VtcWY1bmhFQ...

----------------------------------------------------------------
iMac 24" 3.06GHz 4Gb/ram, OS10.5.7, Netgear DG834N

BE* Unlimited

Edited by defcom (Mon 10-Aug-09 12:34:39)

Moderator billford
(moderator) Mon 10-Aug-09 12:39:15
Print Post

Re: Remote access


[re: defcom] [link to this post]
 
Thanks, I'll have a read of that later, it looks useful.

~~~~~~~~~~~~
Bill

[email protected]
The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
Standard User deleted
(deleted) Mon 10-Aug-09 12:46:03
Print Post

Re: Remote access


[re: billford] [link to this post]
 
If AFP is enabled in Sharing, then you should be all set for plain Finder-to-Finder access using a remote Mac.

You can test the OS X part of it all locally, as the Mac's firewall doesn't care where the connection is coming from. If it works when you connect to the Mac from another Mac on the LAN then you just have to get the router part working in order to do it across the Internet.
Moderator billford
(moderator) Mon 10-Aug-09 12:55:37
Print Post

Re: Remote access


[re: deleted] [link to this post]
 
Thanks Alan.

I'm not at home at the moment so can't get at the router, but I suspect my Wednesday afternoon is now committed smile

~~~~~~~~~~~~
Bill

[email protected]
The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
Standard User deleted
(deleted) Mon 10-Aug-09 14:53:34
Print Post

Re: Remote access


[re: billford] [link to this post]
 
Has anyone used fugu/openssh? http://rsug.itd.umich.edu/software/fugu/
Standard User deleted
(deleted) Mon 10-Aug-09 20:30:28
Print Post

Re: Remote access


[re: deleted] [link to this post]
 
No, but it looks very promising.
Standard User deleted
(deleted) Mon 10-Aug-09 22:00:10
Print Post

Re: Remote access


[re: deleted] [link to this post]
 
Back to My Mac is trivial to set up, and works really well. As does Back To My Time Capsule. It really is as simple as having the same .mac/mobileme account set in the iMac/Timecapsule and the remote MacBook. When you're away, the devices just show up in Finder as if you were on the same LAN.
Standard User deleted
(deleted) Tue 11-Aug-09 02:33:23
Print Post

Re: Remote access


[re: deleted] [link to this post]
 
Not quite "free", though, unless you already have a MobileMe account for other reasons.
Standard User Tacitus
(committed) Wed 12-Aug-09 08:16:50
Print Post

Re: Remote access


[re: deleted] [link to this post]
 
Another useful tool is iGet. OK so you have to pay for it, but it uses SSH with either a pre-set key or certificates. It's quick and gives a finder like view of the files on you machine with rapid transfers either way.

I've used it in the past, but it is a good idea to change the default SSH port from 22 to something more obscure. If nothing else it keeps out the script kids smile

I now use a VPN with the free iP Securitas. If your modem supports a VPN concentrator this is pretty easy to setup. Transfers are not as quick, but it is probably more secure, even using a PSK provided you use one of greater than (say) 12 characters.

One thing to remember is that if you wish to remote login to home from a work network, most outgoing ports are generally blocked. If they aren't, they should be smile
Standard User deleted
(deleted) Fri 14-Aug-09 00:25:25
Print Post

Re: Remote access


[re: deleted] [link to this post]
 
In reply to a post by john2007:
Has anyone used fugu/openssh? http://rsug.itd.umich.edu/software/fugu/


Been using it for years as a simple SFTP client. Works fine on PPC and Intel for me accessing a range of SSH servers.
Moderator billford
(moderator) Thu 27-Aug-09 18:32:53
Print Post

Re: Remote access


[re: deleted] [link to this post]
 
In reply to a post by AlanH:
If AFP is enabled in Sharing, then you should be all set for plain Finder-to-Finder access using a remote Mac.
Right, that works a treat, thanks smile.

Next question tongue

My iTunes library on the iMac is set as shared, how can I persuade the remote MacBook to access it over 'tinternet?

(Music only, my "home" upload speed wouldn't cope with video frown)

~~~~~~~~~~~~
Bill

[email protected]
The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
Standard User deleted
(deleted) Thu 27-Aug-09 20:08:50
Print Post

Re: Remote access


[re: billford] [link to this post]
 
Port number 3689 is used for iTunes sharing according to a quick Google search, but I don't know whether forwarding that port through your router is sufficient.
Moderator billford
(moderator) Thu 27-Aug-09 21:37:38
Print Post

Re: Remote access


[re: deleted] [link to this post]
 
Thanks Alan, I'll give that a try next time I'm at home and can get at the router.

Trouble is, I only find out what I can't do remotely when I'm not at home and can't immediately check suggestions out. I suppose the next thing is to investigate remote login to the router... that's easy on a fixed remote IP but I'm on a dynamic one here frown

~~~~~~~~~~~~
Bill

[email protected]
The author of the above post is a thinkbroadband moderator but it does not constitute an official statement on behalf of thinkbroadband.
Standard User TheHorseman
(knowledge is power) Thu 27-Aug-09 22:18:49
Print Post

Re: Remote access


[re: billford] [link to this post]
 
Before installing 'Spotify' on my works linux box, I used to access my home music server by tunneling through ssh (needs a proxy on the linux box too), worked fairly well.

Be* Unlimited
Far too many computers, 1 Ducati M900, 1 Wife, 4 Cats and too many horses smile
+++ Out of Cheese Error. Redo From Start +++
Pages in this thread: 1 | 2 | 3 | (show all)   Print Thread

Jump to