문제 설명
VSFTP 연결 오류 (VSFTP Error Connecting)
VESTA CP가 설치된 Ubuntu Server 14.04.3 LTS를 실행하고 있습니다.
서버의 로컬 IP 주소를 사용하여 LAN에 있는 동안 문제 없이 ftp를 통해 연결할 수 있습니다. 그러나 내 공용 IP를 통해 연결을 시도하면 연결할 수 없습니다(나는 Apple의 Airport Express를 라우터로 사용하고 있으며 포트 21 및 1200‑12100이 서버에 액세스할 수 있도록 허용하고 있습니다).
여기가 있습니다. 내 vsftpd.conf:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=002
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
dual_log_enable=YES
chroot_local_user=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=NO
tcp_wrappers=YES
force_dot_files=YES
ascii_upload_enable=YES
ascii_download_enable=YES
#allow_writable_chroot=YES
allow_writeable_chroot=YES
seccomp_sandbox=NO
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000
#pasv_address=2*.*.*.* (public ip)
FileZilla에서 받은 메시지입니다.
내 공개 IP를 사용하여 연결하려면 어떻게 해야 하나요? ?
감사합니다.
참조 솔루션
방법 1:
Ok, after racking my brain and eyes reading tons of information, I found the solution. I just needed to tell FileZilla to connect via SFTP (port 22) instead of FTP (port 21).
Now everything works perfectly.
(by Joshua Wieczorek、Joshua Wieczorek)