Created
August 5, 2012 04:34
-
-
Save boris/3261699 to your computer and use it in GitHub Desktop.
ubuntu firewall example rules
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 ufw enable | |
sudo ufw allow httpd | |
sudo ufw allow ftp | |
sudo ufw allow proto tcp from 1172.16.0.0 to port 25 | |
sudo ufw allow proto tcp from 200.83.5.145 to port 22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment