Proftpd Passive Mode Problem

Discussion in 'Installation/Configuration' started by snooopy, Dec 22, 2005.

  1. snooopy

    snooopy New Member

    I'm using proftpd v1.2.10rc1. The proftpd.conf is as follow:

    ServerName "FTP Server"
    ServerType standalone
    DefaultServer on
    DefaultTransferMode binary
    ServerIdent on "Welcome to FTP Server"
    DefaultRoot ~ !users
    Port 21

    AllowForeignAddress on

    MaxLoginAttempts 2
    MaxClientsPerHost 2

    User nobody
    Group nogroup

    MaxInstances 10

    ExtendedLog /usr/local/var/proftpd/access.log WRITE,READ write
    ExtendedLog /usr/local/var/proftpd/auth.log AUTH auth
    ScoreboardFile /usr/local/var/proftpd/proftpd

    TimeoutLogin 60
    TimeoutIdle 120
    TimeoutNoTransfer 900

    PathDenyFilter "(^|/)[-.]"

    UseFtpUsers off
    RootLogin off
    PersistentPasswd off

    AccessGrantMsg "%u is successful to log in"

    TransferLog /usr/local/var/proftpd/xferlog
    LogFormat default "%h %u %t \"%r\" %s %b"
    LogFormat auth "%v [%P] %h %t \"%r\" %s"
    LogFormat write "%h %u %t \"%r\" %s %b"

    <Global>
    Umask 022
    RequireValidShell on
    DirFakeGroup on
    DirFakeUser on
    DirFakeMode 0440
    AllowRetrieveRestart on
    </Global>

    I've no configured passive mode and it should use Active Mode now. However, when I use FileZilla that I must select "Passive Mode" to see all files and directory. In addition, if I use "cmd" from Windows, the "ls" command cannot be used to list out files.

    What happen and how can I solve it? In fact I would like to use Active Mode.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    I think it's a firewall problem. If you change your firewall rules then it should work.
     

Share This Page