Best Practice Protect Server in DO from all type DDOS Attack

Posted August 8, 2016 2.8k views
CentOSFirewallHigh Availability

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 ?


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.

Submit an Answer
1 answer

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