Question

OWASP top 10 rules for DO firewall?

Posted March 10, 2019 897 views
CentOS Firewall DigitalOcean Cloud Firewalls

I’m using CentOS 7 droplets. For all my droplets I’d like to create a “Base Firewall” that has the usual attack signatures blocked as per OWASP Top 10. Can’t find anything in the tutorials for it. I’ve had decent luck with AWS WAF (there’s a yaml starter kit that one could easily set up with), but nothing on Digital Ocean. Any pointers? Thanks.

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.

1 answer

Greetings!

Our firewall in the cloud control panel is purely a network firewall, and not a web application firewall. With this in mind, you can remove any reference to DigitalOcean from your search and focus purely on how to accomplish it inside of a CentOS 7 server without any external tooling.

One popular web application firewall is mod_security, an Apache module. I found a tutorial for installing mod_security and the OWASP rules here:

http://linuxpitstop.com/install-and-setup-owasp-on-centos-linux/

I do not believe that there will exist a step by step guide for choosing their top 10 rules as opposed to the entirety of their rules, but it is certainly possible to remove rules from the configuration files downloaded in this tutorial.

Jarland

Submit an Answer