LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ProFTPD won't let me browse files (https://www.linuxquestions.org/questions/linux-newbie-8/proftpd-wont-let-me-browse-files-407152/)

Ab3n 01-23-2006 07:42 PM

ProFTPD won't let me browse files
 
Hey all,

I have recently set up a proftpd server on a slack 10.2 machine, but whenever I connect to it over the internet (via smartftp) it gives me this error once I have successfully logged in:


Code:

220 ProFTPD 1.2.10 Server (Joe's FTP Server) [192.168.2.140]
    USER chris
331 Password required for chris.
    PASS (hidden)
230 User chris logged in.
    SYST
215 UNIX Type: L8
    FEAT
211-Features:
 MDTM
 REST STREAM
 SIZE
211 End
    PWD
257 "/home/chris" is current directory.
    TYPE I
200 Type set to I
    PASV
227 Entering Passive Mode (192,168,2,140,128,68).
    Opening data connection to 192.168.2.140 Port: 32836
    LIST -aL
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    Timeout (40s).
    Active Help: http://www.smartftp.com/support/kb/index.php/74
    Client closed the connection.
    Automatic failover of data connection mode from "Passive Mode (PASV)" to "Active Mode (PORT)".

Any Help?

xhi 01-24-2006 12:52 PM

is passive mode enabled on the server?

Ab3n 01-24-2006 01:06 PM

I honestly have no idea...how do you check that and how would I change it? Is it in the proftpd.conf?

Ab3n 03-09-2006 02:24 PM

I've added this to the end of my proftpd.conf:

Code:

PassivePorts 10000 10050
I entered this command on the server:

Code:

iptables -A INPUT -p tcp --dport 10000:10100 -j ACCEPT
I've also added them to my port forwarding list on the router...unfortunately it still only allows me to connect through active mode when outside the network...any help?


All times are GMT -5. The time now is 11:07 AM.