How does the Digital Ocean Cloud Firewall block unwanted traffic when I specify an inbound droplet?

Posted October 14, 2020 512 views
FirewallDigitalOcean Cloud Firewalls

In Digital Ocean’s Cloud Firewall (, it’s possible to set acceptable inputs to your droplet as opposed to IP addresses. How does the firewall block unwanted requests? Ie is DigitalOcean checking against the IP address of the server or is it something else?

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.

Submit an Answer
1 answer

Hi there @nkumarcc,

The DigitalOcean Cloud Firewalls, are network-based and stop traffic at the network layer before it reaches the server.

This means that you could close specific ports like the SSH port or your MySQL port, or you could block specific IP addresses or ranges.

That way the network traffic is filtered on the firewall before it even reaches your Droplet.

However, you can not block specific HTTP requests, for that you need an application-level firewall that is able to filter the incoming packets based on specific rules.

Hope that this helps!