Skip to content

Basic DoS Protection

SamuelNZ edited this page Nov 17, 2015 · 24 revisions

Before We Get Started

You should be doing this at the end of your MPOS install.

Firstly we're going to install some programs to deal with various Authentication Failures, and ban people appropriately. You should research both of these, Because there are a lot of beneficial features.

sudo apt-get update
sudo apt-get install denyhosts
sudo apt-get install fail2ban

Leave the settings as default unless you've changed your SSH port, Then you need to Google how to configure these programs.

sudo service denyhosts restart
sudo service fail2ban restart

Basic DoS Protection With IPTables.

Interactive Firewall Installation: SecureIPTables