Skip to content

Instantly share code, notes, and snippets.

@ericchen
Created November 14, 2015 14:52
Show Gist options
  • Save ericchen/f58f9c845075d0eda926 to your computer and use it in GitHub Desktop.
Save ericchen/f58f9c845075d0eda926 to your computer and use it in GitHub Desktop.
firewall config
# firewall
ufw allow ssh
ufw allow http
ufw allow https
ufw logging on
ufw enable
# check rule
ufw status numbered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment