Best Practice Protect Server in DO from all type DDOS Attack

hi …

i have several vm in DO. everyday i see a monitoring use observium and everyday always have traffic not normal. i think this is a ddos attack.

i track a source ip attacker mostly from china. i have tried install fail2ban and still doesn’t work . anyone here can give me suggest what should i do to protect my vm ?


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Some starting points: -read up on IPTABLES … spend a day getting familiar with setting up IPTABLES for one machine. Lock everything down except your ssh port and whatever else you are using (web, VPN, etc). After you get the basic idea you can do all of your VMs -Use 6g htaccess on your websites -If you use Wordpress, install a plugin like LoginLockdown -harden your ssh