Skip to content

Instantly share code, notes, and snippets.

@aaronthorp
Created September 23, 2015 10:11
Show Gist options
  • Save aaronthorp/e36db5f60a8d8670da81 to your computer and use it in GitHub Desktop.
Save aaronthorp/e36db5f60a8d8670da81 to your computer and use it in GitHub Desktop.
#/bin/bash
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j ACCEPT
sudo apt-get update
sudo apt-get install iptables-persistent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment