Question

Adding WAF service to my website

I would like to know if I can have a WAF (web application firewall) service in digital ocean to protect and filter the web attacks for my web servers that are hosted on digital ocean, I’m aware of the existing firewall service, but it only works as access control list. So, does digital ocean provide WAF service?


Submit an answer


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!

Sign In or Sign Up to Answer

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.

James Love
DigitalOcean Employee
DigitalOcean Employee badge
December 21, 2023

Haltdos have a WAF available in the DigitalOcean Marketplace as a 1-Click Droplet. It is available as a free community edition as well as paid Pro version

alexdo
Site Moderator
Site Moderator badge
August 31, 2023

You can implement a WAF on your own by using various open-source tools or third-party services on your droplets. You can consider tools such as ModSecurity that provide WAF functionality. Alternatively, you can utilize external WAF services provided by Cloudflare, Sucuri, or StackPath.

Please be aware that these setups would be outside the scope of DigitalOcean’s support, but don’t worry. We have an extensive community library of tutorials which might help you in setting up these services.

Bobby Iliev
Site Moderator
Site Moderator badge
August 13, 2023

Hi there,

Indeed you are correct, the DigitalOcean Cloud Firewalls are a network-based, stateful firewall service for Droplets rather than WAFs. Cloud firewalls block all traffic that isn’t expressly permitted by a network rule.

If you want to see a managed WAF solution, the best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

https://ideas.digitalocean.com/

For the time being, I could suggest using Cloudflare. They offer a free account and have a managed WAF service.

Hope that helps!

- Bobby.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel