LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How can I configure vsftpd to accept passive mode? (https://www.linuxquestions.org/questions/linux-server-73/how-can-i-configure-vsftpd-to-accept-passive-mode-752693/)

daihard 09-04-2009 11:46 AM

How can I configure vsftpd to accept passive mode?
 
Hi.

I am having trouble configuring vsftpd (running on Fedora Core 3) to accept passive mode connections.

I do have the following parameters included in the configuration file (/etc/vsftpd/vsftpd.conf).

pasv_enable=YES
port_enable=YES
pasv_promiscuous=YES
port_promiscuous=YES

However, my FTP client still get the following message.

Code:

ftp> ls
421 Service not available, remote server has closed connection
Passive mode refused.  Turning off passive mode.
No control connection for command: Transport endpoint is not connected

This happens even when I turn my firewall off (by using system-config-securitylevel), so I assume it has nothing to do with my firewall settings.

Any help would be appreciated!

rayfordj 09-04-2009 05:30 PM

may need pasv_address defined.

are you testing this from a client on the same subnet? are you testing through a NAT? are you able to provide any debug output from client?

Code:

[user@here ~]$ lftp server
lftp server:~> debug
lftp server:~> set ftp:passive-mode on
lftp server:~> ls



All times are GMT -5. The time now is 11:54 PM.