Created
November 16, 2020 05:06
-
-
Save hehuan2112/349fac9324c71c5d67caeed74836d9e1 to your computer and use it in GitHub Desktop.
Port forwarding on MacOS
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
# first, install socat by brew | |
brew install socat | |
# the forward! | |
sudo socat TCP4-LISTEN:59919,fork TCP4:172.22.15.10:18081 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very nice tool! socat!