Skip to content

Instantly share code, notes, and snippets.

@heisters
Created June 11, 2009 17:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heisters/128097 to your computer and use it in GitHub Desktop.
Save heisters/128097 to your computer and use it in GitHub Desktop.
A basic UFW firewall configuration
ufw default deny
ufw allow ssh/tcp
ufw limit ssh/tcp
ufw allow http/tcp
ufw allow https/tcp
ufw logging on
ufw enable
ufw status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment