I’m getting many connections from Digital Ocean IP addresses trying to connect to my SSH port and trying to access non-existent locations on my webserver. I’m blocking them all at my firewall. Are there any IPs used by Digital Ocean that I should not block?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, @edGiantSquid
There is no specific IP address that you should whitelist. You can block every IP address that makes unsuccessful ssh authentication as this is clearly not a legit traffic.
You can also look into changing the ssh port and make only the pubkey authentication is enabled leaving the password authentication disabled in order to keep things safe. Also make sure everything on the droplet is updated and you’ve blocked/closed all the ports which are not used.
Brute force login attacks are one of the most common ways for a server to be compromised. This tutorial shows you how:
Hope that helps!
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.