Skip to content

Instantly share code, notes, and snippets.

@chluehr
Created September 10, 2010 13:52
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 chluehr/573660 to your computer and use it in GitHub Desktop.
Save chluehr/573660 to your computer and use it in GitHub Desktop.
SSH Port Forwarding Setup
# example: Create a forward from localhost:8080 to heise.de:80
DEST_HOST=heise.de
DEST_PORT=80
LOCAL_PORT=8080
ssh $DEST_HOST -L $LOCAL_PORT:localhost:$DEST_PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment