Speed limit and limit link points for common vsFTPd Functions

Source: Internet
Author: User

VsftpdI have been using it for a long time and feel very stable and secure. I recommend it to you and write some articles on restrictions. Please refer to the following introduction!

I. How can I limit the number of connections on the vsFTP server and the maximum number of connections for each IP address?

Modify the vsFTPd server configuration file vsftpd. conf and add the following two lines:

Max_clients = Number

Max_per_ip = Number

For example, I want to add up to 100 vsFTP connections and up to five connections for each IP address. Therefore, I should add the following two lines in vsftpd. conf:

Max_clients = 100

Max_per_ip = 5

After modifying the configuration file, do not forget to start the vsftp server.

Ii. How to limit the transmission speed?

Anon_max_rate = Number

Note: This is an anonymous speed.

Local_max_rate = Number

Note: This is the speed of local users on the vsFTP server.

Note: The unit of this number is byte, so we need to calculate it. For example, if I want Anonymous Users and vsFTP users to download data at 80 KB, the number should be 1024x80 = 81920.

Therefore, we need to add the following two lines to vsftpd. conf:

Anon_max_rate = 81920

Local_max_rate = 81920

By reading the above article, we can easily see that vsftpd has many tips. It is very useful to limit the transmission speed and link points. I hope it will help you!

  • Custom welcome information for common vsFTPd Functions
  • Common vsFTPd functions: Setting virtual paths and viewing log information
  • Read and Write Permissions for common vsFTPd Functions
  • Anonymous upload/download of common vsFTPd Server Functions
  • The relationship between vsFTPd servers, firewalls, and SELINUX is ambiguous.
  • How to enable and disable the vsFTPd Server
  • Getting started with vsftpd-installation, configuration, cases and FAQs
  • The most detailed vsftpd configuration file in history

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.