ngrok - Introspected tunnels to localhost (homepage)
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.
This fork is based on ngrok 1.x which is opensource and free.
You must be noticed that ngrok 1.x is no longer supported by ngrok officially.
We create this fork for our development env, you should not use this version for PRODUCTION.
ngrok 2.x is the successor to 1.x. But it no longer opensource and free with self-hosting.
We add some features for more easy and safety self-hosting ngrokd server.
- Mutual authentication for ngrok server and client.
- Managed https tunnel support.
- Easy config and build for your own ngrok server and client.
- Simple token by using
-authorizedTokens
opt with ngrokd.
See ngrok self-hosting guide for more information.
DO NOT RUN THIS VERSION OF NGROK (1.X) IN PRODUCTION.
Both the client and server are known to have serious reliability issues including memory and file descriptor leaks as well as crashes. There is also no HA story as the server is a SPOF. You are advised to run 2.0 for any production quality system.
- 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
- 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