原始链接: https://github.com/mzlogin/ding-tunnel
HTTP 穿透
-
下载工具
git clone https://github.com/open-dingtalk/pierced.git
-
执行命令
./ding -config=./ding.cfg -subdomain=域名前缀 端口
。以 Mac 为例:
cd mac_64 chmod 777 ./ding ./ding -config=./ding.cfg -subdomain=abcde 8080
documents/soft/pierced/mac_64
上面是我自己本地的例子,启动完客户端后,你访问 http://cxl.vaiwan.com/3601 都会映射到 http://127.0.0.1:3601。 (😊) -
Windows:
cd windows_64 ./ding -config ding.cfg -subdomain abcde 8080
启动后界面如下图所示: