Skip to content

Instantly share code, notes, and snippets.

@jjl
Created August 28, 2013 12:33
Show Gist options
  • Save jjl/6365510 to your computer and use it in GitHub Desktop.
Save jjl/6365510 to your computer and use it in GitHub Desktop.
Allowing machine C access to machine A's network via machine B
ssh -L1080:127.0.0.1:1080 userc@machineb
ssh -D 1080 localhost
ssh -R 1080:127.0.0.1:1080 usera@machineb # In the ssh session created by the previous line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment