Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-04-2009, 11:46 AM   #1
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915

Rep: Reputation: 34
Question How can I configure vsftpd to accept passive mode?


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).


However, my FTP client still get the following message.

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!
Old 09-04-2009, 05:30 PM   #2
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
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?

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPD mode lapzlinux Linux - Networking 4 08-06-2011 01:54 AM
vsftpd passive connection issues amb1545 Linux - Server 7 02-05-2009 11:53 AM
how to configure Cygwin on passive mode naw_deepak Linux - Software 2 12-26-2008 05:35 AM
Vsftpd Entering passive mode pramka SUSE / openSUSE 1 07-18-2008 07:20 PM
Problem with vsftpd and passive mode 0001001 Linux - Server 1 09-12-2006 07:18 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration