Skip to content

Instantly share code, notes, and snippets.

@revolunet
Last active May 27, 2019 15:08
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 revolunet/0c5e4fcaa5d0e9101ea68e6f9761d871 to your computer and use it in GitHub Desktop.
Save revolunet/0c5e4fcaa5d0e9101ea68e6f9761d871 to your computer and use it in GitHub Desktop.
SSH tunneling

SSH port forwarding

MBP (8081) -----------> (22) 88.191.43.XXX ------> (8888) 10.200.100.XXX

# Ouvres LOCALEMENT le port 8081 vers le port 8888 de la machine interne 10.200.100.XXX
# En passant par la machine accessible en 88.191.43.XXX

ssh -L 8081:10.200.100.XXX:8888 88.191.43.XXX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment