I have such a problem. I have a VPS where I have multiple 3rd order domains (01.example.xy - 64.example.xy) created under one user for students for teaching, to which they log in with their FTP accounts. However, as soon as we all try to connect at the school at once (e.g. 15 students at one time), the FTP connection is blocked. Do you know where the problem could be? Sorry for the English - translated by a translator.
Sounds like fail2ban rate limit, but I’m not sure on that.
Are you connecting to the FTP server from the same ip?
You didn’t say whether you are using vsftpd or proftpd but I’ll assume you are using the default ftp installed by Hestia (vsftpd).
Edit /etc/vsftpd.conf
file and modify max_per_ip=10
to something like max_per_ip=30
and once done restart it systemctl restart vsftpd
Sorry, I’m new here. How do I get to edit this file? Is there a way other than SSH?
Yes, you can do it from Web UI: Server settings
→ hover your mouse over vsftpd
service and you will see a pencil icon, click on it
In next page, modify the max_per_ip
value and click on Save
Ah, I see it now. Sorry for my ignorance. So I have the PROFTPD variant. In the settings I see MaxInstances - 20. That’s probably the item that should be increased. However, I don’t understand it, because a maximum of 15 students can connect to a class at a time and this limit (20) should be enough.
Raise MaxInstances
to 50
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.