天天看點

釘釘内網穿透

1、下載下傳程式

從GitHub位址裡下載下傳程式,或者直接用git clone

位址:https://gitee.com/laatu/nail-mesh-penetration?_from=gitee_search      

2、啟動程式

Linux、Mac下用系統終端,Windows下要用cmd。

windows使用

釘釘内網穿透
ding -config=./ding.cfg -subdomain={自定義二級域名} {自定義端口}
示例:
ding -config=./ding.cfg -subdomain=xfei 8085      

3、參數說明

  1. config:内網穿透的配置檔案,按指令照示例固定為釘釘提供的./ding.cfg,無需修改。
  2. subdomain:您需要使用的域名字首,該字首将會比對到“vaiwan.com”前面,例如你的subdomain是abcde,啟動工具後會将abcde.vaiwan.com映射到本地。
  3. 端口:您需要代理的本地服務http-server端口,例如你本地端口為8080等。