CLOUD-IP // v2026.05
UPDATED 2026-05-26 PROVIDERS 24 LIVE
// DIGITALOCEAN / UFW

DigitalOcean · UFW

UFW (Uncomplicated Firewall) shell script for DigitalOcean. 1,219 CIDRs, refreshed daily.

// ufw_digitalocean_allow.sh

DOWNLOAD ↓  · 
#!/bin/bash
# Digitalocean IP Ranges
# Updated: 2026-05-20 03:19:32
# Source: https://github.com/rezmoss/cloud-provider-ip-addresses
# License: https://github.com/rezmoss/cloud-provider-ip-addresses/LICENSE
# This file is generated automatically. Do not edit it directly.
# Updates daily at 00:00 UTC
# UFW allow rules for digitalocean

ufw allow from 5.101.96.0/21
ufw allow from 5.101.104.0/22
ufw allow from 24.144.64.0/22
ufw allow from 24.144.68.0/22
ufw allow from 24.144.74.0/23
ufw allow from 24.144.76.0/22
ufw allow from 24.144.80.0/20
ufw allow from 24.144.96.0/19
ufw allow from 24.199.64.0/22
ufw allow from 24.199.68.0/22
ufw allow from 24.199.72.0/21
ufw allow from 24.199.80.0/20
ufw allow from 24.199.96.0/20
ufw allow from 24.199.112.0/20
ufw allow from 37.139.0.0/19
ufw allow from 45.55.0.0/19
… (1203 more lines)

// ufw_digitalocean_deny.sh

DOWNLOAD ↓  · 
#!/bin/bash
# Digitalocean IP Ranges
# Updated: 2026-05-20 03:19:32
# Source: https://github.com/rezmoss/cloud-provider-ip-addresses
# License: https://github.com/rezmoss/cloud-provider-ip-addresses/LICENSE
# This file is generated automatically. Do not edit it directly.
# Updates daily at 00:00 UTC
# UFW deny rules for digitalocean

ufw deny from 5.101.96.0/21
ufw deny from 5.101.104.0/22
ufw deny from 24.144.64.0/22
ufw deny from 24.144.68.0/22
ufw deny from 24.144.74.0/23
ufw deny from 24.144.76.0/22
ufw deny from 24.144.80.0/20
ufw deny from 24.144.96.0/19
ufw deny from 24.199.64.0/22
ufw deny from 24.199.68.0/22
ufw deny from 24.199.72.0/21
ufw deny from 24.199.80.0/20
ufw deny from 24.199.96.0/20
ufw deny from 24.199.112.0/20
ufw deny from 37.139.0.0/19
ufw deny from 45.55.0.0/19
… (1203 more lines)