Created
September 23, 2015 00:30
-
-
Save grrowl/bc2bd23e2315b9dff12c to your computer and use it in GitHub Desktop.
Forwards port 80 to another port (*nix, OSX up to 10.11)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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