Skip to content

Instantly share code, notes, and snippets.

@luk-
Created December 11, 2012 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luk-/4262781 to your computer and use it in GitHub Desktop.
Save luk-/4262781 to your computer and use it in GitHub Desktop.
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 5984
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment