Protect your Site: Digital Ocean IPs you MUST BLOCK !
Digital Ocean is the n1 source of attacks daily.
Here are the IPs you MUST Block to prevent attacks from Digital Ocean IPs worldwide:
| IP Range (CIDR) | IP Range (CIDR) |
|---|---|
| 24.199.64.0/18 | 167.71.0.0/16 |
| 45.55.0.0/16 | 167.99.0.0/16 |
| 64.227.18.0/24 | 167.172.143.0/24 |
| 64.225.79.0/24 | 170.64.128.0/17 |
| 64.227.30.0/25 | 170.64.128.0/17 |
| 64.227.142.0/24 | 178.128.208.0/24 |
| 64.227.162.0/24 | 178.128.208.0/24 |
| 67.205.151.0/24 | 188.166.0.0/16 |
| 68.183.89.0/24 | 188.166.0.0/16 |
| 68.183.85.0/24 | 192.81.213.0/24 |
| 104.248.0.0/16 | 192.241.128.0/19 |
| 128.199.0.0/16 | 192.241.240.0/24 |
| 134.209.0.0/16 | 204.48.16.0/24 |
| 134.122.0.0/32 | 206.189.0.0/16 |
| 137.184.0.0/16 | 209.97.165.0/24 |
| 138.197.187.0/24 | |
| 139.59.0.0/16 | |
| 142.93.237.0/24 | |
| 143.110.128.0/17 | |
| 143.198.51.0/24 | |
| 143.244.146.0/24 | |
| 146.190.68.0/24 | |
| 157.230.0.0/16 | |
| 68.183.184.0/24 | |
| 157.245.0.0/16 | |
| 159.65.0.0/16 | |
| 159.203.101.0/24 | |
| 159.223.0.0/16 | |
| 161.35.0.0/16 | |
| 164.92.82.0/24 | |
| 165.22.0.0/16 | |
| 165.227.0.0/16 | |
| 165.232.32.0/24 | |
| 165.232.190.0/24 | |
| IP Range (CIDR) | IP Range (CIDR) |
Notes:
If you have an option to block using “hostname“, you can block even more:
- cloudwaysapps.com (aka Digital Ocean) – You can block it using “*cloudwaysapps.com*” as “hostname”
- Block “*ocean*” as “hostname“
Updated April 2023
If you have the capability to BLOCK using ASNs (autonomous system number), here is what you should ban:
| AS14061 – DigitalOcean, LLC |
| AS62567 – DigitalOcean, LLC |
Notice: CIDR (IP Ranges) & ASNs provided above, are not by any means complete. More Data is added when some kind of attack is logged.

@Solar i can’t expand on this via comments replies.
Have you checked
https://cidram.github.io/
Maybe we can create some forum topic for all that. I will see what i can do.
How can we block something using the “hostname” as you suggest?
A universal solution is CIDRAM script. For WordPress many plugins exist, like Wordfence Advanced Blocking.
I do not use WordPress but some other script. How do i use CIDRAM?
@Solar if you wish to continue, make an account here, login and post your questions:
https://www.valueweb.gr/forums/cidram/
so everybody can benefit. And pls do not use the Contact forms for that.