Skip to content

Instantly share code, notes, and snippets.

@ilyabrin
Created October 16, 2015 21:16
Show Gist options
  • Select an option

  • Save ilyabrin/aa794500ef2183e78aaa to your computer and use it in GitHub Desktop.

Select an option

Save ilyabrin/aa794500ef2183e78aaa to your computer and use it in GitHub Desktop.
Ruby server example
ruby -run -e httpd . -p 8080
iptables -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
iptables -F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment