Skip to content

Instantly share code, notes, and snippets.

@warpdesign
Created June 16, 2014 08:58
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 warpdesign/8b06b7a11a78608db55c to your computer and use it in GitHub Desktop.
Save warpdesign/8b06b7a11a78608db55c to your computer and use it in GitHub Desktop.
Port redirection using ipfw
# this will redirect any incoming requests on port 80 to port 8080
ipfw add 1443 fwd 127.0.0.1,8080 tcp from any to me 80 in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment