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

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?

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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! Regards, Bobby