DDoS protection

Ive seen that DO doesnt provide DDoS protection for droplets but is there any way I can protect my droplet from DDoS attacks without using cloudflare? I saw that IP tables hadnt really helped for some people. Any ideas?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @Filice,

So one thing is using a CDN like CloudFlare, the other is using a good firewall.

Having said that, Using only Iptables should be enough. This exact question has been discussed here as well:


You can check the tutorial on how to mitigate DDoS attacks with CloudFlare (if you decide to use it)

You can also check the Cloud Firewalls:

DigitalOcean Cloud Firewalls, which are free of charge.

DigitalOcean Cloud Firewalls are a network-based, stateful firewall service for Droplets provided at no additional cost. Cloud firewalls block all traffic that isn’t expressly permitted by a rule, in other words, the traffic is blocked before it even reaches your Droplets, which means less load to your Droplets.

Hope that this helps!