{"id":15854224,"url":"https://github.com/afeiship/ngrok-tunnel","last_synced_at":"2026-02-27T21:02:28.272Z","repository":{"id":41172598,"uuid":"57944457","full_name":"afeiship/ngrok-tunnel","owner":"afeiship","description":"ngrok tunnel to vaiwan.com.","archived":false,"fork":false,"pushed_at":"2023-08-24T03:15:58.000Z","size":48879,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T12:30:57.543Z","etag":null,"topics":["ding","dingtalk","ngrok","pierced","proxy","tunel"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-03T05:48:35.000Z","updated_at":"2024-04-02T17:44:25.000Z","dependencies_parsed_at":"2024-10-05T19:51:20.639Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/ngrok-tunnel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fngrok-tunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fngrok-tunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fngrok-tunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fngrok-tunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/ngrok-tunnel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246696432,"owners_count":20819454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ding","dingtalk","ngrok","pierced","proxy","tunel"],"created_at":"2024-10-05T19:41:11.194Z","updated_at":"2026-02-27T21:02:23.233Z","avatar_url":"https://github.com/afeiship.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngrok-tunnel\n\u003e 钉钉内网穿透(deprecated,钉钉已经下线，所以这个无法访问).\n\n\u003e https://github.com/open-dingtalk/dingtalk-pierced-client\n\n\u003e https://developers.dingtalk.com/document/resourcedownload/http-intranet-penetration\n\n\n~~~\n鉴于很多开发者在临时体验开发时往往没有公网域名或者公网IP，本工具提供了一个公网代理服务，目的是方便开发测试。\n注意 本工具不保证稳定性，仅适用于开发测试阶段，禁止当作公网域名使用。如线上应用使用本工具造成稳定性问题，后果由自己承担。如使用本工具传播违法不良信息，钉钉将追究法律责任。\n~~~\n\n![](https://static-aliyun-doc.oss-accelerate.aliyuncs.com/assets/img/zh-CN/9904269951/p163821.png)\n\n\n1. 启动内网穿透, 下载工具。\n    \n    ```shell\n    git clone git@github.com:afeiship/ngrok-tunnel.git\n    git clone https://github.com/afeiship/ngrok-tunnel.git\n\n    # 或者这个\n    git clone https://github.com/open-dingtalk/pierced.git\n    ```\n\n2. 执行以下命令，启动工具。\n    \u003e Windows执行以下命令：\n    \n    ```shell\n    # 说明 Windows需使用cmd工具打开命令行。\n    cd windows_64\n    ding -config=ding.cfg -subdomain=abcde 8080\n    ```\n\n    \u003e MAC执行以下命令：\n\n    ```shell\n    cd mac\n    chmod 777 ./ding\n    ./ding -config=./ding.cfg -subdomain=abcde 8080\n    ```\n\n3. 启动完客户端后，你访问 `http://abcde.vaiwan.com/xxxxx` 都会映射到 `http://127.0.0.1:8080/xxxxx`\n   \n   ![](https://tva1.sinaimg.cn/large/008i3skNgy1gtqhxrn3jmj612e0aawfb02.jpg)\n\n### 参数说明\n| 参数       | 说明                                                                                                                       |\n| ---------- | -------------------------------------------------------------------------------------------------------------------------- |\n| -config    | 内网穿透的配置文件，按照命令示例固定为钉钉提供的./ding.cfg，无需修改                                                       |\n| -subdomain | 您需要使用的域名前缀，该前缀将会匹配到“vaiwan.com”前面，例如你的subdomain是abcde，启动工具后会将abcde.vaiwan.com映射到本地 |\n| 端口       | 您需要代理的本地服务http-server端口，例如你本地端口为8080等                                                                |\n\n## issues\n1. 无法支持新版 Mac: https://github.com/golang/go/wiki/MacOS12BSDThreadRegisterIssue\n2. 考虑在 docker 下可以方便使用这个命令\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fngrok-tunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fngrok-tunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fngrok-tunnel/lists"}