Skip to content

Instantly share code, notes, and snippets.

Avatar

T.J. Crowder tjcrowder

View GitHub Profile
View README.md

Setup reverse tunnel

Run the following in your client machine

ssh -R EXPOSED_PORT:localhost:SERVICE_PORT USER@HOST

Where

  • EXPOSED_PORT is the port exposed to the internet in the proxy server
  • SERVICE_PORT is the port your application is listening in your machine