Skip to content

Instantly share code, notes, and snippets.

@terriyu
Created August 10, 2013 19:37
Show Gist options
  • Save terriyu/6201847 to your computer and use it in GitHub Desktop.
Save terriyu/6201847 to your computer and use it in GitHub Desktop.
Trying to use Ubuntu's firewall configuration tool ufw to open up port 80 on my Vagrant VM so that I can check my Devstack's dashboard
vagrant@precise64:~$ sudo ufw allow 80
Rules updated
Rules updated (v6)
vagrant@precise64:~$ sudo ufw status
Status: inactive
vagrant@precise64:~$ sudo ufw status verbose
Status: inactive
vagrant@precise64:~$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
vagrant@precise64:~$ sudo ufw status
Status: active
To Action From
-- ------ ----
80 ALLOW Anywhere
80 ALLOW Anywhere (v6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment