LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

doctl-databases-firewalls

manage database cluster firewall rules

TLDR

List firewall rules
$ doctl databases firewalls list [cluster_id]
copy
Add firewall rule for IP
$ doctl databases firewalls append [cluster_id] --rule ip_addr:[ip]
copy
Add firewall rule for droplet
$ doctl databases firewalls append [cluster_id] --rule droplet:[droplet_id]
copy
Remove firewall rule
$ doctl databases firewalls remove [cluster_id] [rule_uuid]
copy

SYNOPSIS

doctl databases firewalls command [options]

DESCRIPTION

doctl databases firewalls manages trusted sources (firewall rules) for DigitalOcean managed database clusters. Rules control which IPs, droplets, Kubernetes clusters, or tags can connect.By default, managed database clusters deny all incoming connections for security. Firewall rules explicitly allow access from specific sources. You can authorize individual IP addresses, entire droplets, Kubernetes clusters, or resources identified by tags. This enables secure database access while preventing unauthorized connections.Rules can be added, listed, and removed to adapt to changing infrastructure requirements. Each rule is identified by a UUID for management operations.

SUBCOMMANDS

list

List firewall rules.
append
Add firewall rule.
remove
Remove firewall rule.

INSTALL

sudo dnf install doctl
copy
sudo pacman -S doctl
copy
sudo apk add doctl
copy
brew install doctl
copy
nix profile install nixpkgs#doctl
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid