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

Alan Shreve e0ff5ad359 fix Makefile to build the correct binaries for client/server targets 12 years ago
assets 0b7ceda198 use nrsc to pack static data into the binaries, making adding assets easier and simplifying the build process 12 years ago
src 733452c53c change directory layout so go install generates the correct binaries 12 years ago
.gitignore 0b7ceda198 use nrsc to pack static data into the binaries, making adding assets easier and simplifying the build process 12 years ago
LICENSE 1f7f65edf5 add license 12 years ago
Makefile e0ff5ad359 fix Makefile to build the correct binaries for client/server targets 12 years ago
README.md ff66b75495 use new dl.ngrok endpoint 12 years ago
nrsc 0b7ceda198 use nrsc to pack static data into the binaries, making adding assets easier and simplifying the build process 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]