Skip to content

Instantly share code, notes, and snippets.

@bhuvangu
Created December 12, 2013 08:01
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 bhuvangu/7924626 to your computer and use it in GitHub Desktop.
Save bhuvangu/7924626 to your computer and use it in GitHub Desktop.
Redirect call to some other host to localhost
iptables -t nat -A OUTPUT -p tcp -d 10.231.27.72 --dport 80 -j DNAT --to-destination 127.0.0.1:9192
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment