Created
February 16, 2017 19:47
-
-
Save pedropapa/20f1e5a7569b844b06fb9c496815b053 to your computer and use it in GitHub Desktop.
Redirect lan port to internal IP (macOS)
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
1. Go to system preferences > sharing. | |
2. Enable remote login. | |
3. Execute the following command on terminal: ssh -L lan_ip:lan_port:redirect_ip:redirect_port -N 127.0.0.1 | |
4. Example: ssh -L 192.168.200.120:10000:mma-hmg:80 -N 127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment