Installation and configuration of VSFTPD under CentOS

Source: Internet
Author: User

1. It has been configured to surf the Internet, so you can install it via the Yum install VSFTPD. If you cannot access the Internet, you can install it via the Dvd2.iso tool set RPM method.

2. After installation, the default local can be logged on by anonymous users, but other computers are inaccessible. This article mainly records to allow anonymous users to upload and delete files to do some configuration, the main need to do 3 major aspects of configuration vsftpd itself, SELinux and iptables

3.VSFTPD aspect has a key configuration is anon_umask=022 that is set the upload the file permission, otherwise the default upload file permission is 600, then the upload permission cannot be downloaded.

4.selinux main configuration allows anonymous users to access the system

5.iptables configuration allows port access, mainly 21 ports in active mode, 20 ports in passive mode, or other random ports

The so-called active mode and passive mode is the concept of FTP, both the client and the server can determine the mode of interaction with the FTP, the active mode that the servers decide to use the random port of transmission data is generally 20, the passive mode for the client to determine the data used to transmit the random port.

Installation and configuration of VSFTPD under CentOS

Related Article

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.