Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

crimsontide165

macrumors member
Original poster
Feb 5, 2011
35
0
I need to be able to access my home mac from work via ftp. Currently I've turned on the ftp server in terminal:

sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist

Now it works well when I just use the local ip 192.168..., however on my airport extreme at home I've set it up port mapping and pointed a domain's a name record to it.

However when I try to connect to it through the domain that it gives me "Server connection closed"

Any help?
 

belvdr

macrumors 603
Aug 15, 2005
5,945
1,372
Are you sure you're connecting to your system, as you likely have a dynamic IP? What ports did you forward?
 

crimsontide165

macrumors member
Original poster
Feb 5, 2011
35
0
I reserved a static ip for the mac and my public is static as well, 80 & 21

----------

I'm getting "Control connection timed out" now...
 

belvdr

macrumors 603
Aug 15, 2005
5,945
1,372
Not sure why that's happening but it's definitely related to your port mapping.

How about enabling ssh and using sftp? Same results and it all runs over TCP 22, instead of using high ports as well.
 

r0k

macrumors 68040
Mar 3, 2008
3,612
76
Detroit
Don't forget to shut off plain old ftp. Sftp still works. I have an app to manage ftpd linked in my sig. It's not a good idea to leave plain old ftp running all the time unless you need it (ie for an older camera or scanner that only knows how to ftp to send files to your Mac).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.