Skip to content

Instantly share code, notes, and snippets.

@chluehr
Created September 10, 2010 13:52
Show Gist options
  • 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