How to limit the FTP connections from the IP address (pure-FTP)


In case you need to restrict FTP connections from any IP, you can do that but the default the limit is 8. It is not recommended to increase the limit of 8, for security reasons.

Follow steps as

# Maximum number of sim clients with the same IP address MaxClientsPerIP 8

1.Open pure-FTP configuration file using vim /etc/pure-ftpd.conf
2. Search for the line “MaxClientsPerIP” and change the value
3. Restart FTP service .

You can use command given below to restart FTP service /etc/init.d/pure-ftpd restart

by-

eLite Server Management

We Specialize In cPanel Server Management
Affordable 24/7 Technical Support Company

*Also Check: lease ipv4 addresses