{"id":15068792,"url":"https://github.com/gnanquanmama/pangolin","last_synced_at":"2025-04-10T17:35:46.107Z","repository":{"id":37166110,"uuid":"192253658","full_name":"gnanquanmama/pangolin","owner":"gnanquanmama","description":"轻量级内网穿透工具， 基于Java8，netty4.x实现，开箱即用，可转发基于TCP的应用层数据流，例如HTTP/HTTPS,SSH","archived":false,"fork":false,"pushed_at":"2022-10-04T23:52:39.000Z","size":324,"stargazers_count":81,"open_issues_count":4,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T15:11:18.421Z","etag":null,"topics":["http-proxy","java8","netty4","tcp","tcp-proxy"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnanquanmama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-17T01:16:33.000Z","updated_at":"2025-03-13T07:15:12.000Z","dependencies_parsed_at":"2023-01-19T05:46:25.694Z","dependency_job_id":null,"html_url":"https://github.com/gnanquanmama/pangolin","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/gnanquanmama%2Fpangolin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnanquanmama%2Fpangolin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnanquanmama%2Fpangolin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnanquanmama%2Fpangolin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnanquanmama","download_url":"https://codeload.github.com/gnanquanmama/pangolin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262029,"owners_count":21074230,"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":["http-proxy","java8","netty4","tcp","tcp-proxy"],"created_at":"2024-09-25T01:39:18.123Z","updated_at":"2025-04-10T17:35:46.085Z","avatar_url":"https://github.com/gnanquanmama.png","language":"Java","funding_links":[],"categories":["网络编程"],"sub_categories":["Spring Cloud框架"],"readme":"# Pangolin\n轻量级内网穿透工具，类似花生壳工具  \n基于Java8，netty4.x实现，开箱即用，可转发基于TCP的应用层数据流，例如HTTP/HTTPS,SSH  \n通讯协议使用Protocol Buffer\n\n#### Architecture Diagram\n![image](https://raw.githubusercontent.com/gnanquanmama/pangolin/develop/server/src/main/resources/static/architecture.png)\n\n\n#### How To Use - Local Compile\n    0. git clone git@github.com:gnanquanmama/pangolin.git\n    1. [可选] 配置server模块下的pub_net_conf.json文件对应的公网访问端口，默认映射端口为7700\n    2. mvn clean package  \n    3. java -jar pangolin_server.jar 7500  \n    4. java -jar pangolin_client.jar -i_host [xxxx] -i_port 7500 -t_host [yyyy] -t_port [zzzz] -p_key qaz123\n    \n#### How To Use - Docker\n    \n    docker pull xwzt/pangolin-server:latest\n    docker run -d -p 7500:7500 -p 7600:7600 -p 7700:7700 xwzt/pangolin-server 7500\n        \n    docker pull xwzt/pangolin-client:latest\n    docker run -d xwzt/pangolin-client -i_host [xxxx] -i_port 7500 -t_host [yyyy] -t_port [zzzz] -p_key qaz123\n    \n\n#### Argument Description  \n    i_host 内网代理服务器主机名称  \n    i_port 内网代理服务器端口  \n    t_host 被代理机器主机名称  \n    t_port 被代理机器端口  \n    p_key 客户端分配的私钥\n\n\n#### Management Tool  \n    telnet 127.0.0.1 7600\n    password: root#123\n    \n    WELCOME TO PANGOLIN CONSOLE... \n    \n    \u003e\u003e\u003e 0.菜单\n    \u003e\u003e\u003e 1.查询所有在线通道信息\n    \u003e\u003e\u003e 2.查询公网端口配置信息\n    \u003e\u003e\u003e 3.关闭已失活的通道\n    \u003e\u003e\u003e 4.查询请求链路信息\n    \u003e\u003e\u003e 5.查询用户流量信息\n    \u003e\u003e\u003e x.退出请输入exit\n    \u003e\u003e\u003e 请输入对应的数字...\n    \n    \n#### BindTempProxyPort  \n\n    curl http://127.0.0.1:7601/dashboard/bindTempProxyPort -d \"privateKey=123456\u0026proxyPort=7702\u0026authCode=XXXX\"\n    YYYY为年，MM为月，DD为日\n    authCode规则为 YYYY + MM**2 + DD**3 \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnanquanmama%2Fpangolin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnanquanmama%2Fpangolin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnanquanmama%2Fpangolin/lists"}