Skip to content

Instantly share code, notes, and snippets.

@sposmen
Last active July 13, 2018 16:08
Show Gist options
  • Save sposmen/3879835 to your computer and use it in GitHub Desktop.
Save sposmen/3879835 to your computer and use it in GitHub Desktop.
Never Forgot commands
# Comando que permite mapear un puerto con otro
ssh sshadmin@INITIAL_MACHINE_IP -L 23:INTERNAL_IP:22 -N
# Port forward desde un server que si tiene acceso a otro.
sudo socat TCP4-LISTEN:2525,fork TCP4:test.server.com:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment