DDOS Protection and Shell Protection

  • Posted December 21, 2013

How do I protect my CentOS server from a DDOS and Shell attacks :L


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

you should look into a solution from Solarflare Communications. They have developed solution to protect Linux kernel from DDOS attacks.

a non-standard port for SSH <br> <br>This is very first thing I’ve done on every server or VPS I’ve spun up in the past couple of years. Makes a huge difference. The first time I switched off of port 22 for SSH I went from almost 10,000 attempted logins on port 22 on one day to 0 on the new port the next day. <br> <br>Also really like CSF as a firewall setup tool.

You can’t. The best you can do is hope to mitigate the disruption. Start w/a firewall; a non-standard port for SSH; fail2ban; SSH-key (i.e. passwordless) logins; and a monitoring tool. <br> <br>For websites, <a href=“”>CloudFlare</a>, provides a good service (and they even have a free plan).