CentOS 7 + vsftpd : Server sent passive reply with unroutable address
by jonaskellens from LinuxQuestions.org on (#5E22X)
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=29000This 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 ?


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=29000This 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 ?