Skip to content

Instantly share code, notes, and snippets.

@shmidt
Last active September 30, 2020 07:41
Show Gist options
  • Save shmidt/6f410324ae177f57491e407a4e145c27 to your computer and use it in GitHub Desktop.
Save shmidt/6f410324ae177f57491e407a4e145c27 to your computer and use it in GitHub Desktop.
Securing Pi
# https://www.raspberrypi.org/documentation/configuration/security.md
sudo apt install ufw
sudo ufw allow ssh
sudo ufw limit ssh/tcp
sudo ufw enable
sudo apt install fail2ban
sudo service fail2ban restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment