Skip to content

Instantly share code, notes, and snippets.

@dakom
Last active December 22, 2021 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dakom/efb1ad7f8c22df3da2ddbf45439768b3 to your computer and use it in GitHub Desktop.
Save dakom/efb1ad7f8c22df3da2ddbf45439768b3 to your computer and use it in GitHub Desktop.
forward ports
this will allow connections to local machines local port to be forwarded to remote_ip and remote port
socat tcp-listen:[LOCAL_PORT],reuseaddr,fork tcp:[REMOTE_IP]:[REMOTE_PORT]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment