Skip to content

Instantly share code, notes, and snippets.

@karl-gustav
Created January 31, 2018 18:08
Show Gist options
  • Save karl-gustav/6ac2e05c7bef568d47232d24dd784c99 to your computer and use it in GitHub Desktop.
Save karl-gustav/6ac2e05c7bef568d47232d24dd784c99 to your computer and use it in GitHub Desktop.
SSH tunnel How-To
ssh -f <server> -L <port on source machine>:<ip/address on target network>:<port on target network> -N
Example:
ssh -f home -L 8001:10.0.0.1:80 -N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment