Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > FTP access via router help needed

FTP access via router help needed
Thread Tools
Senior User
Join Date: Oct 1999
Location: Planet Earth
Status: Offline
Reply With Quote
Feb 8, 2003, 10:42 AM
 
I'm trying to set up my 10.2.4 box as a ftp server. I have a linksys router and have set up port forwarding via 21 & 20 to the IP address of the aforementioned box. I have the FTP server turned on.

I'm under the impression that I should be able to connect to the home folder of any user using the username/password set up in the Accounts PrefsPane. But I cannot seem to connect at all.

Any ideas?
---I'm on a low Microsoft diet.
     
Mac Enthusiast
Join Date: Apr 2001
Location: Toronto, Ontario, Canada
Status: Offline
Reply With Quote
Feb 8, 2003, 10:56 AM
 
I had this problem a while back with my Linksys router and someone mentioned to me that it's not sufficient to forward only ports 20 and 21. You need to forward the range 20-25 and also 5000-7000. Apparently there are some ports in the 5000-7000 range that FTP servers use, I'm not sure exactly which ones, but I know forwarding that entire range makes it work perfectly.

Give that a shot, I hope it works..

Originally posted by RoofusPennymore:
I'm trying to set up my 10.2.4 box as a ftp server. I have a linksys router and have set up port forwarding via 21 & 20 to the IP address of the aforementioned box. I have the FTP server turned on.

I'm under the impression that I should be able to connect to the home folder of any user using the username/password set up in the Accounts PrefsPane. But I cannot seem to connect at all.

Any ideas?
The world needs more Canada.
PB 12" 867 MHz, 640 MB RAM, AE, OS 10.4.2
Black iPod nano 4GB
     
Senior User
Join Date: May 2001
Location: Boston, MA
Status: Offline
Reply With Quote
Feb 8, 2003, 11:13 AM
 
I've been trying to figure out what ports to forward too other than 20-21. Anyone know the exact ports to forward with an Apple Base Station? I can't forward entire ranges in the admin utility only exact ports.
     
Senior User
Join Date: May 2001
Location: Boston, MA
Status: Offline
Reply With Quote
Feb 8, 2003, 11:31 AM
 
opps double post
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Feb 8, 2003, 03:43 PM
 
Opening ports 5000-700 as mentioned is a HUGE security hole and is NOT necessary for FTP.

Ports 20 and 21 are the only ports needed.

The problem you're encountering is active FTP. Active ftp does use random, dynamic ports for data connections (file transfers, directory listings, etc.)

Enable passive FTP on your ftp client and you'll be able to get through firewalls, etc.

Alternatively, for greater security, enable SSH (remote login) and use scp which uses encryption to secure the file transfer (ftp is unencrypted and sends login info (username and password) in plain text.
Gods don't kill people - people with Gods kill people.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:31 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2