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