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

Otto Jongerius 475911a83c set sudo to false to use new container based infrastructure. 10 years ago
assets 0d10398f96 support the dashboard websocket being tunneled over tunnels 11 years ago
contrib 2e5e6acee3 Changes per suggestions by Alan. 11 years ago
docs 1a56399614 Development doc update: Mercurial is needed to compile ngrok 10 years ago
src 09cd37a1f3 pin against old go-update API 10 years ago
.gitignore 9df0907ea2 update gitignore 11 years ago
.travis.yml 475911a83c set sudo to false to use new container based infrastructure. 10 years ago
CONTRIBUTORS 1088ec6c25 strip email 11 years ago
LICENSE 1f7f65edf5 add license 12 years ago
Makefile 6d6ab48068 fix makefile to allow parallel builds 11 years ago
README.md 58f74e8eec Update travis.yml to test against less ancient versions of Go. Add badge. 10 years ago

README.md

Build
status

ngrok - Introspected tunnels to localhost (homepage)

"I want to securely expose a web server to the internet and capture all traffic for detailed inspection and replay"

What is ngrok?

ngrok is a reverse proxy that creates a secure tunnel from a public endpoint to a locally running web service. ngrok captures and analyzes all traffic over the tunnel for later inspection and replay.

ngrok 2.0

NOTE This repository contains the code for ngrok 1.0. The code for ngrok 2.0 is not yet open source.

What can I do with ngrok?

  • Expose any http service behind a NAT or firewall to the internet on a subdomain of ngrok.com
  • Expose any tcp service behind a NAT or firewall to the internet on a random port of ngrok.com
  • Inspect all http requests/responses that are transmitted over the tunnel
  • Replay any request that was transmitted over the tunnel

What is ngrok useful for?

  • Temporarily sharing a website that is only running on your development machine
  • Demoing an app at a hackathon without deploying
  • Developing any services which consume webhooks (HTTP callbacks) by allowing you to replay those requests
  • Debugging and understanding any web service by inspecting the HTTP traffic
  • Running networked services on machines that are firewalled off from the internet

Downloading and installing ngrok

ngrok has no runtime dependencies. Just download a single binary for your platform and run it. Some premium features are only available by creating an account on ngrok.com. If you need them, create an account on ngrok.com.

Download ngrok for your platform

Developing on ngrok

ngrok developer's guide