Is anyone familiar with VSFTPD? -- Linux general technology-Linux technology and application information. For details, refer to the following section. I configured a VSFTPD on redhat5.3, but I cannot perform LS or upload files when I use a server in another network segment for access:
[Statdb @/gboss/mddms/interface/shell] ftp 172.19.108.17
Connected to 172.19.108.17.
220 (vsFTPd 2.0.5)
Name (172.19.108.17: mddms): tcftp
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
Ftp> pwd
257 "/home/tcftp"
Ftp> ls
200 PORT command successful. Consider using PASV.
No response. Press ctrl-c:
421 Service not available, remote server has closed connection
No control connection for command: Interrupted system call
After passive command:
Remote system type is UNIX.
Using binary mode to transfer files.
Ftp> pwd
257 "/home/tcftp"
Ftp> passive
Passive mode on.
Ftp> ls
227 Entering Passive Mode (192,168, 165,209)
No response. Press ctrl-c:
227 Entering Passive Mode (192,168, 155,231)
Ftp>
Ftp>
The problem is strange. It seems that data transmission has been blocked and can only be logged on. The following is my configuration file:
Listen = YES
Listen_port = 21
Tcp_wrappers = NO
Anonymous_enable = YES
Local_enable = YES
Write_enable = YES
Local_umask = 022
Anon_upload_enable = NO
Anon_mkdir_write_enable = NO
Dirmessage_enable = YES
Xferlog_enable = YES
Xferlog_file =/var/log/vsftpd. log
Xferlog_std_format = YES
Connect_from_port_20 = YES
Chroot_local_user = YES
Local_max_rate = 500000
Idle_session_timeout = 600
Data _ connection_timeout = 120
Nopriv_user = nobody
Ftpd_banner = Welcome to d-1701.com FTP service.
Check_shell = NO
Pam_service_name = vsftpd
Userlist_enable = YES
Userlist_file =/etc/vsftpd/user_list
Is Port 20 blocked? Port 21 for login, while Port 20 for data transmission? However, I tried to change connect_from_port_20 to NO. The problem is still the same.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service