Firewalls How-Tos

Generated on 18 Apr 2025

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

How to Create Firewalls

Create a cloud firewall to restrict network traffic to and from specified Droplets.

How to Configure Firewall Rules

Create, modify, or delete firewall rules to restrict Droplets’ inbound and outbound traffic based on ports, sources, and destinations.

How to Add and Remove Droplets from Firewalls

Add Droplets to a firewall by name or by tag to apply the firewall’s rules.

Cloud Firewall Management

How to View All Firewall Rules Applied to a Droplet

View the full set of firewall rules applied to a Droplet from all cloud firewalls.

How to Destroy Firewalls

Destroy a firewall to remove it permanently from your account. Destroying a firewall does not destroy the Droplets that were associated with it.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.