Skip to content

wendal/ngrok

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

对原版的改进

  1. 增加授权(auth_token)的检查
  2. 强制子域名绑定
  3. 将统计数据存储
  4. 支持转发到监听端口的请求(例如监听9080,然后nginx将80端口的请求转发过来)

均依赖本地的redis实例

TODO

  1. HTTP API
  2. CNAME 支持

Redis数据定义

hset ngrok $auth_token $subdomain

zset ngrok:report $now $report

About

Introspected tunnels to localhost

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 72.6%
  • JavaScript 21.9%
  • HTML 4.6%
  • Makefile 0.9%