To turn on UFW, sudo ufw allow 22 sudo ufw enable sudo ufw status sudo systemctl enable ufw sudo systemctl start ufw
Derived from here: sudo apt install -y fail2ban sudo systemctl enable fail2ban sudo systemctl start fail2ban sudo systemctl status fail2ban enter interactive mode