LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-22-2013, 01:38 AM   #1
fulvetta
LQ Newbie
 
Registered: Jun 2013
Location: Earth
Distribution: [laptop] CrunchBang Linux [server] Debian
Posts: 8

Rep: Reputation: 5
My ProFTPD installation isn't happy, and I don't know why.


I am very new to server administration. For the past few months, I have been running an Apache+ProFTPD+InspIRCD (Debian) server from my bedroom. Things have gone very smoothly for the most part, but this time I have no idea what's going on.

As an added security measure, I decided to change the FTP connection port from 21 to 2112. Edited the relevant line in proftpd.conf, but something isn't working right. CYSM is showing port 2112 as being open and detecting a service as running on that port.

Code:
Status:	        Connecting to 0.0.0.0:2112...
Status:	        Connection established, waiting for welcome message...
Response:	220 ProFTPD 1.3.4a Server (Debian) [::ffff:192.168.1.116]
Command:	USER username
Response:	331 Password required for username
Command:	PASS *************
Response:	230 User username logged in
Command:	OPTS UTF8 ON
Response:	200 UTF8 set to on
Status:	        Connected
Status:	        Retrieving directory listing...
Command:	PWD
Response:	257 "/home/username" is the current directory
Command:	TYPE I
Response:	200 Type set to I
Command:	PORT 192,168,1,141,202,249
Response:	500 Illegal PORT command
Command:	PASV
Response:	227 Entering Passive Mode (192,168,1,116,141,64).
Status:	Server sent passive reply with unroutable address. Using server address instead.
Command:	MLSD
Error:	        Connection timed out
Error:	        Failed to retrieve directory listing
(External IP address and username removed)

Any thoughts or suggestions would be very much appreciated. Thanks in advance!

Last edited by fulvetta; 09-22-2013 at 01:22 PM.
 
Old 09-23-2013, 12:55 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,826

Rep: Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866Reputation: 1866
Quote:
Status: Server sent passive reply with unroutable address. Using server address instead.
I guess you have to use:
Code:
MasqueradeAddress x.x.x.x
where x.x.x.x is the server public IP
Have a look here for details

Regards
 
Old 10-12-2013, 07:35 PM   #3
fulvetta
LQ Newbie
 
Registered: Jun 2013
Location: Earth
Distribution: [laptop] CrunchBang Linux [server] Debian
Posts: 8

Original Poster
Rep: Reputation: 5
I decided to ditch FTP altogether and instead use SFTP, on the advice of dot|not at the CrunchBang forums. Seems like a much better system, frankly.
 
  


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
why isn't this source building? don't understand error hedpe Linux - Software 2 10-14-2006 08:40 PM
LXer: Micro Center isn't a happy home for Linux LXer Syndicated Linux News 0 04-18-2006 02:54 AM
Windows don't like ProFTPD? :/ Barca Linux - Networking 2 01-11-2005 02:33 PM
[SOLVED] I'm happy but I still don't understand linux filosophem Linux - General 5 11-27-2004 11:29 AM
vsftpd isn't happy when ran by xinetd LinuxBAH Linux - Networking 1 02-20-2004 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:07 PM.

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
Open Source Consulting | Domain Registration