![패시브 모드에서는 FTP에 연결할 수 없습니다](https://linux55.com/image/27238/%ED%8C%A8%EC%8B%9C%EB%B8%8C%20%EB%AA%A8%EB%93%9C%EC%97%90%EC%84%9C%EB%8A%94%20FTP%EC%97%90%20%EC%97%B0%EA%B2%B0%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.png)
방금 구성한 ftp에 연결하려고 하는데 FileZilla를 사용하면 다음 로그가 나타납니다.
Status: Connecting to x.x.x.x:21...
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 2.3.5)
Command: USER huntsnap
Response: 331 Please specify the password.
Command: PASS ********
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/home/my/home/dir"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 227 Entering Passive Mode (10,38,106,212,248,2).
Status: Server sent passive reply with unroutable address. Using server address instead.
Command: LIST
Error: Connection timed out
Error: Failed to retrieve directory listing
Ubuntu 서버에서 구성했는데 vsftpd
문제가 무엇인지 모르겠습니다.
vsftp.conf 파일
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=ftp
rsa_cert_file=/etc/ssl/private/vsftpd.pem
userlist_file=/etc/vsftpd.userlist
userlist_enable=YES
userlist_deny=NO
local_root=/home/to/my/home/
dirlist_enable=YES
download_enable=YES