Created
October 15, 2017 13:54
-
-
Save u1i/dbc5250d268776df248d9703ca22fe65 to your computer and use it in GitHub Desktop.
Forward local port to remote public port via SSH
This file contains hidden or 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
# Ports: destination, source | |
ssh -R 0.0.0.0:8080:localhost:80 -N [email protected] | |
# sshd needs GatewayPorts set to 'yes' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment