CLOUD-IP // v2026.07
UPDATED 2026-07-11 PROVIDERS 37 LIVE
// DIGITALOCEAN / UFW

DigitalOcean · UFW

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

// ufw_digitalocean_allow.sh

DOWNLOAD ↓  · 
#!/bin/bash
# Digitalocean IP Ranges
# Updated: 2026-06-30 03:20:02
# 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 02: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/21
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/18
ufw allow from 37.139.0.0/19
ufw allow from 45.55.0.0/16
ufw allow from 46.101.0.0/16
ufw allow from 64.23.128.0/17
ufw allow from 64.225.0.0/17
ufw allow from 64.226.64.0/18
ufw allow from 64.227.0.0/17
ufw allow from 64.227.128.0/18
… (216 more lines)

// ufw_digitalocean_deny.sh

DOWNLOAD ↓  · 
#!/bin/bash
# Digitalocean IP Ranges
# Updated: 2026-06-30 03:20:02
# 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 02: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/21
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/18
ufw deny from 37.139.0.0/19
ufw deny from 45.55.0.0/16
ufw deny from 46.101.0.0/16
ufw deny from 64.23.128.0/17
ufw deny from 64.225.0.0/17
ufw deny from 64.226.64.0/18
ufw deny from 64.227.0.0/17
ufw deny from 64.227.128.0/18
… (216 more lines)