Skip to content

Instantly share code, notes, and snippets.

@grrowl
Created September 23, 2015 00:30
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 grrowl/bc2bd23e2315b9dff12c to your computer and use it in GitHub Desktop.
Save grrowl/bc2bd23e2315b9dff12c to your computer and use it in GitHub Desktop.
Forwards port 80 to another port (*nix, OSX up to 10.11)
#!/usr/bin/env sh
sudo ssh -L 0.0.0.0:80:127.0.0.1:9000 -N tom@localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment