Question

How to deny certain IPs through cloud firewall but allow all others?

My goal is to:

  • Allow all TCP and UDP traffic for certain ports for incoming connections and allow all traffic for outgoing connections (both of which I already know how to do)
  • Maintain the ability to block particular IP addresses from accessing all droplets the cloud firewall protects (i.e. a droplet-wide ban), as I am hosting services on multiple droplets and want to offload most of the firewall controls to the cloud firewall system. I’d love to offload everything to it (i.e. VPN routing and such)… if anyone knows how to do that, please let me know.
Subscribe
Share

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.

+1 - anyone from DO explain how to DENY Ip addresses?

So DO responded to my support email and with their firewall it is not possible. They recommended finding service providers that offer a WAF - Web Application Firewall. Cloudflare does offer one- it is $20 per a domain. Not cheap

I would like to know about this one too.

Has anyone found an answer to this?!