ProFTP question / problem

3 posts / 0 new
Last post
#1 Sun, 08/05/2012 - 17:19
pztpenguin

ProFTP question / problem

I'm using proftpd as my ftp server and I can't log in through my domain name. I can access it when I use the local address the router gives the server. I checked and made sure my ISP isn't blocking port 21 and ran a port scan on my wan address and port 21 is open. I'm trying out smart ftp client. I see in the smart ftp log it says "data connection ip addy:47500" for example not that port number exactly but it's one I've never seen before. Is there another port I need to open or does anyone know of any setting I might of missed? thanks for any help. :)

Sun, 08/05/2012 - 21:11
pztpenguin

This Might help

Test log
Status: Resolving address of **********************.com
Status: Connecting to **.***.**.**
Status: Connected, waiting for welcome message
Reply: 220 FTP Server ready.
Command: CLNT http://ftptest.net on behalf of **.***.**.**
Reply: 500 CLNT not understood
Command: USER ********************
Reply: 331 Password required for ********************
Command: PASS **************
Reply: 230 welcome to ********************.com
Command: SYST
Reply: 215 UNIX Type: L8
Command: FEAT
Reply: 211-Features:
Reply: MDTM
Reply: MFMT
Reply: LANG ja-JP;zh-CN;ko-KR;bg-BG;ru-RU;fr-FR;zh-TW;it-IT;en-US
Reply: TVFS
Reply: UTF8
Reply: MFF modify;UNIX.group;UNIX.mode;
Reply: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Reply: REST STREAM
Reply: SIZE
Reply: 211 End
Command: PWD
Reply: 257 "/" is the current directory
Status: Current path is /
Command: TYPE I
Reply: 200 Type set to I
Command: PASV
Reply: 227 Entering Passive Mode (**,***,***,**,234,143)
Command: MLSD
Reply: 150 Opening ASCII mode data connection for MLSD
Listing: modify=20120723065712;perm=adfrw;size=176;type=file;unique=FD03UC0002;UNIX.group=501;UNIX.mode=0644;UNIX.owner=501; .bash_profile
Listing: modify=20120723065721;perm=flcdmpe;type=dir;unique=FD03UC001D;UNIX.group=501;UNIX.mode=0755;UNIX.owner=501; ftp
Listing: modify=20120806010103;perm=flcdmpe;type=dir;unique=FD03UC0020;UNIX.group=501;UNIX.mode=0755;UNIX.owner=501; awstats
Listing: modify=20120723072918;perm=flcdmpe;type=dir;unique=FD03UC0639;UNIX.group=501;UNIX.mode=0700;UNIX.owner=501; Maildir
Listing: modify=20120723065721;perm=adfrw;size=1704;type=file;unique=FD03UC0022;UNIX.group=501;UNIX.mode=0700;UNIX.owner=501; ssl.key
Listing: modify=20120728195037;perm=flcdmpe;type=dir;unique=FD03UC0019;UNIX.group=501;UNIX.mode=0755;UNIX.owner=501; fcgi-bin
Listing: modify=20120805203548;perm=flcdmpe;type=dir;unique=FD03UC0DC5;UNIX.group=501;UNIX.mode=0700;UNIX.owner=501; .spamassassin
Listing: modify=20120805203548;perm=flcdmpe;type=dir;unique=FD03UC000A;UNIX.group=501;UNIX.mode=0700;UNIX.owner=501; .usermin
Listing: modify=20120805203804;perm=flcdmpe;type=dir;unique=FD03UC0D62;UNIX.group=501;UNIX.mode=0700;UNIX.owner=501; .gnupg
Listing: modify=20120723065712;perm=adfrw;size=500;type=file;unique=FD03UC0007;UNIX.group=501;UNIX.mode=0644;UNIX.owner=501; .emacs
Listing: modify=20120728162947;perm=adfrw;size=65;type=file;unique=FD03UC002B;UNIX.group=501;UNIX.mode=0644;UNIX.owner=501; .stats-htpasswd
Listing: modify=20120723065716;perm=flcdmpe;type=dir;unique=FD03UC000D;UNIX.group=501;UNIX.mode=0750;UNIX.owner=501; logs
Listing: modify=20120723084014;perm=;size=26;type=file;unique=FD03UC0D3C;UNIX.group=0;UNIX.mode=0640;UNIX.owner=0; phpinfo.php
Listing: modify=20120723065723;perm=flcdmpe;type=dir;unique=FD03UC000C;UNIX.group=501;UNIX.mode=0750;UNIX.owner=501; cgi-bin
Listing: modify=20120805203548;perm=flcdmpe;type=pdir;unique=FD03UC0001;UNIX.group=501;UNIX.mode=0750;UNIX.owner=501; ..
Listing: modify=20120723065721;perm=adfrw;size=1338;type=file;unique=FD03UC0021;UNIX.group=501;UNIX.mode=0700;UNIX.owner=501; ssl.cert
Listing: modify=20120805203548;perm=flcdmpe;type=cdir;unique=FD03UC0001;UNIX.group=501;UNIX.mode=0750;UNIX.owner=501; .
Listing: modify=20120728163052;perm=flcdmpe;type=dir;unique=FD03UC000E;UNIX.group=501;UNIX.mode=0755;UNIX.owner=501; homes
Listing: modify=20120723065712;perm=adfrw;size=124;type=file;unique=FD03UC0003;UNIX.group=501;UNIX.mode=0644;UNIX.owner=501; .bashrc
Listing: modify=20120723065712;perm=flcdmpe;type=dir;unique=FD03UC0004;UNIX.group=501;UNIX.mode=0755;UNIX.owner=501; .mozilla
Listing: modify=20120728195036;perm=flcdmpe;type=dir;unique=FD03UC0014;UNIX.group=501;UNIX.mode=0755;UNIX.owner=501; etc
Listing: modify=20120727195439;perm=adfr;size=55;type=file;unique=FD03UC064E;UNIX.group=0;UNIX.mode=0644;UNIX.owner=0; index.html
Listing: modify=20120723065712;perm=adfrw;size=18;type=file;unique=FD03UC0008;UNIX.group=501;UNIX.mode=0644;UNIX.owner=501; .bash_logout
Listing: modify=20120805203842;perm=flcdmpe;type=dir;unique=FD03UC0D66;UNIX.group=501;UNIX.mode=0755;UNIX.owner=501; .tmp
Listing: modify=20120805194409;perm=flcdmpe;type=dir;unique=FD03UC0017;UNIX.group=501;UNIX.mode=0750;UNIX.owner=501; tmp
Listing: modify=20120729064320;perm=flcdmpe;type=dir;unique=FD03UC000B;UNIX.group=501;UNIX.mode=0750;UNIX.owner=501; public_html
Listing: modify=20120727195439;perm=adfr;size=46;type=file;unique=FD03UC001C;UNIX.group=0;UNIX.mode=0644;UNIX.owner=0; index.html~
Listing: modify=20120723065712;perm=flcdmpe;type=dir;unique=FD03UC0009;UNIX.group=501;UNIX.mode=0755;UNIX.owner=501; .gnome2
Listing: modify=20120728162947;perm=adfrw;size=65;type=file;unique=FD03UC0D3E;UNIX.group=501;UNIX.mode=0644;UNIX.owner=501; .awstats-htpasswd
Reply: 226 Transfer complete
Status: Success
Results
Congratulations! Your server is working and assorted routers/firewalls have been correctly configured for plain basic FTP.
Feel free to test another one of your servers by entering its details below.

I got this this off ftptest.net

The ftp client log look like this now I'm trying fileZilla

Status:  Resolving address of *************************.com
Status: Connecting to **.***.***.**:21...
Status: Connection established, waiting for welcome message...
Response:   220 FTP Server ready.
Command:    USER **********
Response:   331 Password required for ****
Command:    PASS **************
Response:   230 welcome to bransomcomputers.com
Command:    OPTS UTF8 ON
Response:   200 UTF8 set to on
Status: Connected
Status: Retrieving directory listing...
Command:    PWD
Response:   257 "/" is the current directory
Command:    TYPE I
Response:   200 Type set to I
Command:    PASV
Response:   227 Entering Passive Mode (192,168,0,16,129,123).
Status: Server sent passive reply with unroutable address. Using server address instead.
Command:    MLSD
Error:  Connection timed out
Error:  Failed to retrieve directory listing

I masked the ip address & user name to be on the safe side. Any ideas on what I'm doing wrong??

Sun, 08/05/2012 - 23:23
andreychek

Howdy,

FTP can be a tricky one sometimes! You may want to try the fix mentioned in the "FTP Services Isn't Working" section at the end of this document, I think that will do the trick for you:

http://www.virtualmin.com/documentation/web/faq

Topic locked