Created
March 4, 2018 17:00
-
-
Save nyrahul/646e025f26d85f1f050a01193dff2f5d to your computer and use it in GitHub Desktop.
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
ssh -L 4000:192.168.56.102:80 127.0.0.1 | |
# 4000 = Remote port | |
# 192.168.50.102 = Remote IP | |
# 80 = Local port | |
# 127.0.0.1 = Local IP | |
What this means? | |
Whatever packets come to 127.0.0.1:80 forward it to 192.168.56.102:4000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment