Skip to content

Instantly share code, notes, and snippets.

@dbradley
Created June 15, 2009 20:00
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 dbradley/130297 to your computer and use it in GitHub Desktop.
Save dbradley/130297 to your computer and use it in GitHub Desktop.
iptables -t nat -I PREROUTING \
-s ! 127.0.0.1 -p tcp \
--dport 80 -j \
REDIRECT --to-ports 3333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment