Skip to content

Instantly share code, notes, and snippets.

@dbarison
Created October 23, 2014 11:02
Show Gist options
  • Save dbarison/62faeaa2fc81ab30a68a to your computer and use it in GitHub Desktop.
Save dbarison/62faeaa2fc81ab30a68a to your computer and use it in GitHub Desktop.
Block unicorn from external access
iptables -A INPUT -i lo -p tcp --destination-port 3000:3060 -j ACCEPT
iptables -A INPUT -p tcp --destination-port 3000:3060 -j DROP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment