Created
April 17, 2016 18:38
-
-
Save nojvek/139f1336157e95064c6ba7c7eb1ff202 to your computer and use it in GitHub Desktop.
Ubuntu Firewall Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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