LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-11-2021, 05:04 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Rep: Reputation: 34
CentOS 7 + vsftpd : Server sent passive reply with unroutable address


Hello

I have an FTP-server (vsftpd) running CentOS 6 behind NAT with this config :
Code:
pasv_enable=Yes
pasv_address=11.12.13.14
pasv_max_port=29100
pasv_min_port=29000
This works well :
Code:
CWD /
250 Directory successfully changed.
PWD
257 "/"
SYST
215 UNIX Type: L8
PASV
227 Entering Passive Mode (11,12,13,14,113,145).
LIST -a /
150 Here comes the directory listing.
226 Directory send OK.
But it does not work on CentOS 7 with same config for passive mode.
Code:
CWD /
250 Directory successfully changed.
PWD
257 "/"
SYST
215 UNIX Type: L8
PASV
227 Entering Passive Mode (0,0,0,0,113,80).
And I can get no directory listing.

On FileZilla FTP client I see :
Code:
11:55:09	Status:	Logged in
11:55:09	Status:	Retrieving directory listing...
11:55:09	Status:	Server sent passive reply with unroutable address. Using server address instead.
What is wrong on my CentOS 7 server ? Is is in /etc/vsftpd/vsftpd.conf or somewhere else ?
 
Old 02-11-2021, 06:04 AM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
Hi,

Have you tried ?:

listen=YES
listen_ipv6=NO
 
Old 02-11-2021, 07:50 AM   #3
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by marav View Post
Hi,
listen=YES
listen_ipv6=NO
This is the solution to my problem !
 
  


Reply



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
[SOLVED] Installing Wine on Debian 9 - The HTTP server sent an invalid reply header Corvette Linux - Software 5 07-06-2019 09:59 AM
[SOLVED] vsftpd "Server sent passive reply with unroutable address. Using server address instead." Altiris Slackware 7 10-27-2016 09:32 AM
FTP Server Refused passive mode - Using VSFTPD pramodbisht Linux - Newbie 10 10-22-2012 05:07 PM
[SOLVED] Evolution 3.0.2/FC15/x86_64 Where did my message go? Sent OK, but not in 'Sent' Doug Hutcheson Linux - Software 2 09-15-2011 02:42 AM
mail delivery error: unroutable chadi Linux - General 0 10-25-2004 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:04 AM.

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