LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2004, 01:54 PM   #1
patpawlowski
Member
 
Registered: Mar 2003
Location: Centreville, Virginia
Distribution: Mandrak, Red Hat
Posts: 163

Rep: Reputation: 30
ProFTP through router


I have tried setting up my linux box so I can ftp to it from work however I already have an ftp server running on port 21. I changed the default port in proftpd.conf to 8021 and set up my router to forward that port to the linux box. When I try to connect from outside I can connect and login but as soon as I issue an ls I get:

200 PORT command successful

and nothing else. It just sits there until it times out.

I can access it fine from behind the router though.

Any ideas?
 
Old 03-12-2004, 02:07 PM   #2
elitecodex
Member
 
Registered: Feb 2004
Location: MD
Distribution: Fedora 9
Posts: 129

Rep: Reputation: 15
You also need to open up port 20 I believe. FTP uses a second port for transfer of information (like directory listings, file transfers, etc).
 
Old 03-12-2004, 02:24 PM   #3
patpawlowski
Member
 
Registered: Mar 2003
Location: Centreville, Virginia
Distribution: Mandrak, Red Hat
Posts: 163

Original Poster
Rep: Reputation: 30
Right now I have everything from port 8000 to 8999 forwarded to the linux box from the router and I don't see anything in proftpd.conf regarding ports other than the main port assignment.
 
Old 03-12-2004, 02:42 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
whatever port you have it to use in the proftpd.conf
is the port you have to setup for forwarding in your
router configuration .. typically it is port 21 ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
proftp on rh 7.2 behind crummy router eidolon Red Hat 6 12-27-2003 06:36 PM
proftp Joey.Dale Linux - Networking 14 12-15-2003 03:20 PM
ProFtp bnumark Linux - Software 5 06-28-2003 03:36 PM
proftp spate Linux - Software 2 01-09-2003 03:17 PM
ProFTP KillerCheeto Linux - Newbie 6 11-10-2002 03:11 PM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration