Skip to content

Instantly share code, notes, and snippets.

@cdolek
Last active June 2, 2016 20:27
Show Gist options
  • Select an option

  • Save cdolek/0f5ca8cd05c1dd207db26260439b796a to your computer and use it in GitHub Desktop.

Select an option

Save cdolek/0f5ca8cd05c1dd207db26260439b796a to your computer and use it in GitHub Desktop.
ufw default deny incoming
ufw default deny outgoing
ufw limit ssh
ufw allow svn
ufw allow git
ufw allow out http
ufw allow in http
ufw allow out https
ufw allow in https
ufw allow out 53
ufw logging on
# ufw show added // to see enabled rules
# ufw enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment