Skip to content

Instantly share code, notes, and snippets.

@nojvek
Created April 17, 2016 18:38
Show Gist options
  • Save nojvek/139f1336157e95064c6ba7c7eb1ff202 to your computer and use it in GitHub Desktop.
Save nojvek/139f1336157e95064c6ba7c7eb1ff202 to your computer and use it in GitHub Desktop.
Ubuntu Firewall Setup
sudo apt-get install ufw
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow ssh
sudo ufw allow http
sudo ufw allow 9000
sudo ufw allow 9001
sudo ufw allow 9002
sudo ufw status verbose
#sudo ufw enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment