Firewalls How-Tos

DigitalOcean Cloud Firewalls are a network-based, stateful firewall service for Droplets provided at no additional cost. Cloud firewalls block all traffic that isn’t expressly permitted by a rule.


Getting Started

Create a cloud firewall to restrict network traffic to and from specified Droplets.
Create, modify, or delete firewall rules to restrict Droplets’ inbound and outbound traffic based on ports, sources, and destinations.
Add Droplets to a firewall by name or by tag to apply the firewall’s rules.

Cloud Firewall Management

View the full set of firewall rules applied to a Droplet from all cloud firewalls.
Destroy a firewall to remove it permanently from your account. Destroying a firewall does not destroy the Droplets that were associated with it.