I'm blocking connections from all IP's accept my home IP. Which IP's should I allow for Digital Ocean?

December 10, 2016 617 views
Security Ubuntu

I saw some unwanted logins and decided that I will block all traffic accept from my home and locations I trust. I'm using hosts.allow and hosts.deny to achieve this. I need to know the range of IP's that Digital Ocean may use to login to my droplet for maintenance reasons.

1 Answer

I do not think Digital Ocean needs to login to your droplet for any reason. They have access to the physical machines, which is as far as their maintenance goes.

You should consider spending a day getting to know IPTables, which will give you better control over this sort of thing.

With IPTables, you can lock down specific ports (like your ssh port) for only your IP, and leave your web ports (80 and 443) open for public (if you have a web-server)

It took me about a day to wrap my head around IPTables, but once I had the basic idea I have a much easier time locking my droplets.

Have another answer? Share your knowledge.