sudo apt-get denyhosts
sudo apt-get install ufw
sudo apt-get install gufw
sudo ufw status
sudo ufw enable
sudo ufw limit ssh/tcp
sudo ufw allow proto tcp from 192.168.1.0/24 to any port 22
A record of solutions to when I get stuck on some problem. When I think 'I know I have found the answer to this before' I can just search my blog.