Report this

What is the reason for this report?

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

Posted on October 14, 2020

In Digital Ocean’s Cloud Firewall (https://www.digitalocean.com/docs/networking/firewalls/), 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?



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!

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.

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

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.