内网穿透 https://github.com/boyrobot/ngrok

Alan Shreve 5994e47039 update readme 12 years ago
assets f1b17a7987 base64 encoded all raw bytes transferred to the web interface, and expose a primitive hex viewing interface for all requests/responses 12 years ago
src 3b06d20bc5 bump version 12 years ago
.gitignore 28cb7fb47f compile all static assets into the binary so they aren't loaded from the internets. add a fix so that the TeeConn shuts down its pipe correctly so that we terminate handling responses when handling HTTP/1.0 responses with no content-length set 12 years ago
LICENSE 1f7f65edf5 add license 12 years ago
Makefile f1b17a7987 base64 encoded all raw bytes transferred to the web interface, and expose a primitive hex viewing interface for all requests/responses 12 years ago
README.md 5994e47039 update readme 12 years ago

README.md

ngrok (https://ngrok.com)

What is ngrok?

ngrok is a tool that makes it easier to develop networked services (HTTP/TCP) It is a man-in-the-middle proxy server that you run locally on your development box. It allows you to do the following things:

  • Inspect all http requests/responses sent to/from the proxied application
  • Replay any previously observed http request to the proxied application
  • Expose a local http server to the internet on a subdomain of ngrok.com
  • Expose a local tcp server to the internet on a random port on ngrok.com

Downloading and installing ngrok

ngrok has no runtime dependencies. Just download a single binary for your platform and run it.

Compiling ngrok

Binaries get placed in ./bin

git clone git@github.com:inconshreveable/ngrok.git
cd ngrok && make
bin/ngrok [LOCAL PORT]