Setting up an ftp server in debian

Source: Internet
Author: User
The problem of setting up an ftp server in debian-Linux general technology-Linux technology and application information. The following is a detailed description. Recently, an ftp server was deployed on a PC, using vsftp to enable wlan connection. Port ING is also done on the vro, and Port 20 and port 21 are mapped.
There is no problem when you log on to the local machine, but it will not work when you log on through the Internet.
425 Failed to establish connection appears when you log on with firefox.
When you log on with gftp, it is displayed that you are logged on. However, you cannot mount the directory list. the connection times out and the connection is disconnected.
In the ftp root directory, the file permission has been changed to 777. the content of vsftp. conf is as follows: (the logged-out row is not written)


Listen = YES
Anonymous_enable = YES
Local_enable = YES
Write_enable = YES
Local_umask = 022
Anon_mkdir_write_enable = YES
Dirmessage_enable = YES
Use_localtime = YES
Xferlog_enable = YES
Connect_from_port_20 = YES
Ftpd_banner = Welcome to blah FTP service.
Secure_chroot_dir =/var/run/vsftpd/empty
Pam_service_name = vsftpd
Rsa_cert_file =/etc/ssl/private/vsftpd. pem


Pasv_enable = YES
Port_enable = NO

I have used a peanut shell for dynamic domain name resolution, and the web and remote login services are also on my computer. there is no problem during the connection, but ftp cannot be connected, my firewall is shut down and I have tried both active and passive modes. I don't know where the problem is. please ask the experts to help me see how it works. I am very grateful...

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.