Report this

What is the reason for this report?

How to choose a firewall for my Droplet?

Posted on October 4, 2024

Hello everyone,

I’ve just deployed my first Droplet on DigitalOcean, and I want to ensure it’s secure by setting up a basic firewall. I’m a bit new to this, so I’m looking for advice on the easiest way to set up a firewall to allow only necessary traffic (like SSH and HTTP/HTTPS) while blocking everything else.

Should I use UFW, or is there a better approach? Also, are there any particular rules I should include to ensure that my Droplet is both functional and secure?

Thanks in advance for your help!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.