Is anyone else being brute forced by Chinese IP addresses?

April 21, 2015 1.7k views
Security Logging Monitoring

So for the past few days i'v been keeping track of my fail2ban logs and noticed that a ton of Chinese ip addresses are being banned. It seems from my auth.log they are trying to brute force there way into my root account. I was wondering if anyone else is experiencing this and if its something I should report directly to DigitalOcean?

5 Answers

This is not at all unusual for any server on the public Internet. There are a few steps you can take to reduce the risk from this. You have indicated you already set up fail2ban which is a great step.

You can change your ssh port. Since most of these brute force attacks are automated and usually target the default port 22 this would further reduce the number of attacks on your ssh service.

You could set up CloudFlare's free reverse-proxy plan in front of your droplet. Since ssh is not proxied a user looking up your domain name would only receive a CloudFlare IP. This will not prevent indiscriminate scans but would help a lot with any attack that may be targeted at your domain.

You can report these instances to the network operator of the IPs you are detecting. Operators in many countries will take action against this activity, unfortunately in others these reports may be ignored. You can usually find the abuse email address by performing a whois on the ip address:



Welcome to the club, it's nothing unusual.

Thanks for the tips. I will for sure be switching to cloudflare I didn't realize they had a free plan and I will also switch the default port of my ssh. Is it good practice to also switch the default port of my web server?

In the past week it looks like a big block 43.255.190.* has been brute forcing constantly. Once an IP gets banned it simply goes to the next in the block and continues.

  • Yup those are the ip's that i'm seeing. After changing the default ssh port they seem to have stopped completely. So they must be just targeting servers with the default port of 22.

Have another answer? Share your knowledge.