DigitalOcean publishes 1,238 IP ranges.
Short answer
DigitalOcean publishes its address ranges as a geofeed (RFC 8805): each prefix with the country, region and city of the data centre.
What it’s for
Use it to recognise droplets, which commonly host VPNs, proxies and bots, and to see which data centre a range belongs to.
Prefixes
What changed
- 4 Nov 2026
+ 201.79.112.0/20 + 201.79.128.0/20
- 28 Oct 2026
+ 201.79.96.0/20 - 20 Oct 2026
+ 201.79.80.0/20 - 13 Oct 2026
+ 168.144.196.0/23 + 168.144.198.0/23 + 201.79.48.0/20 + 201.79.64.0/22
Allowlist formats
nginx (first 5 prefixes)
allow 103.253.145.0/24; allow 103.253.146.0/24; allow 103.253.147.0/24; allow 104.131.0.0/18; allow 104.131.128.0/20; deny all;
iptables (first 5 prefixes)
iptables -A INPUT -s 103.253.145.0/24 -j ACCEPT iptables -A INPUT -s 103.253.146.0/24 -j ACCEPT iptables -A INPUT -s 103.253.147.0/24 -j ACCEPT iptables -A INPUT -s 104.131.0.0/18 -j ACCEPT iptables -A INPUT -s 104.131.128.0/20 -j ACCEPT
Generate the full list from the CSV, and refresh it on a schedule: providers add and retire prefixes often.
Sources
- DigitalOcean: published IP ranges · checked 5 Nov 2026