LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   My ProFTPD installation isn't happy, and I don't know why. (https://www.linuxquestions.org/questions/linux-server-73/my-proftpd-installation-isnt-happy-and-i-dont-know-why-4175478067/)

fulvetta 09-22-2013 01:38 AM

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!

bathory 09-23-2013 12:55 AM

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

fulvetta 10-12-2013 07:35 PM

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.


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