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

Alan Shreve dbc0bf3c0c properly clean up tunnels when they close 12 years ago
client 0d9ec62205 pass the protocol to the client UIs. only show http requests in terminal if protocol is http. cleaner terminal representation of public port forwarding 12 years ago
conn 1bbabe1a54 fix logging so that we always go out through log4go's global logger and we remove its default stdout appender 12 years ago
log 1bbabe1a54 fix logging so that we always go out through log4go's global logger and we remove its default stdout appender 12 years ago
main 8f4795ecac initial prototype of ngrok 12 years ago
proto 5d2f48f285 Handle errors creating tunnels more gracefully and allow the client to cleanly shutdown and print an error message 12 years ago
server dbc0bf3c0c properly clean up tunnels when they close 12 years ago
templates 8f4795ecac initial prototype of ngrok 12 years ago
.gitignore 8f4795ecac initial prototype of ngrok 12 years ago
Makefile 8f4795ecac initial prototype of ngrok 12 years ago
README.md a05f7862df fix readme docs 12 years ago

README.md

ngrok

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
- Expose a local http server to the internet on a subdomain of ngrok.com

Compiling ngrok

Binaries get placed in ./bin

git clone git@github.com:inconshreveable/ngrok.git
cd ngrok
go get -d ./...
make
bin/ngrok [LOCAL PORT]