Hi team,
I’m looking for a mechanism to block the IP addresses on an incremental time block upon too many request.
Rather than using an application in server level like Fail2Ban. Can we do it from digital ocean console ?
Regards Karthik. K
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
While this is not something that can be done through our control panel, it can be accomplished by using the built-in functionality of NGINX or using mod_ratelimit on Apache.
Apache https://httpd.apache.org/docs/2.4/mod/mod_ratelimit.html
NGINX http://nginx.org/en/docs/http/ngx_http_limit_req_module.html
Additionally, there are third-party services, such as CloudFlare, which can provide more advanced options.
I’m new and not 100% familiar with what you’re looking for but I limit my ssh and a few other ports with the limit option in the firewall.
Example if I wanted to limit standard ssh I would do it like this:
sudo ufw limit ssh/tcp
or
sudo ufw limit 22/tcp
Both will limit port 22.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.