Last active
July 13, 2018 16:08
-
-
Save sposmen/3879835 to your computer and use it in GitHub Desktop.
Never Forgot commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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