赞
踩
git clone https://github.com/open-dingtalk/pierced.git
ding -config=ding.cfg -subdomain=hkl 7000
运行后看到如下窗口,说明已经成功穿透
MAC执行以下命令:
cd mac_64
chmod 777 ./ding
./ding -config=./ding.cfg -subdomain=hkl 7000
参数说明:
-config:内网穿透的配置文件,按照命令示例固定为钉钉提供的./ding.cfg,无需修改
-subdomain:您需要使用的域名前缀,该前缀将会匹配到“vaiwan.com”前面,例如你的subdomain是hkl,启动工具后会将hkl.vaiwan.com映射到本地
端口:您需要代理的本地服务http-server端口,例如你本地端口为7000、8080等
启动完客户端后,访问http://hkl.vaiwan.com/xxx都会映射到http://127.0.0.1:7000/xxx
参考:https://open.dingtalk.com/document/resourcedownload/http-intranet-penetration?pnamespace=app
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。