Skip to content

Instantly share code, notes, and snippets.

@hehuan2112
Created November 16, 2020 05:06
Show Gist options
  • Save hehuan2112/349fac9324c71c5d67caeed74836d9e1 to your computer and use it in GitHub Desktop.
Save hehuan2112/349fac9324c71c5d67caeed74836d9e1 to your computer and use it in GitHub Desktop.
Port forwarding on MacOS
# first, install socat by brew
brew install socat
# the forward!
sudo socat TCP4-LISTEN:59919,fork TCP4:172.22.15.10:18081
@hehuan2112
Copy link
Author

Very nice tool! socat!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment