{"id":19387944,"url":"https://github.com/helloxz/brook-relay","last_synced_at":"2025-04-23T23:31:27.727Z","repository":{"id":50229961,"uuid":"327766985","full_name":"helloxz/brook-relay","owner":"helloxz","description":"brook relay for docker","archived":false,"fork":false,"pushed_at":"2021-06-01T09:46:23.000Z","size":13,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T22:22:57.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/helloxz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-08T01:28:40.000Z","updated_at":"2023-05-22T16:39:05.000Z","dependencies_parsed_at":"2022-08-17T16:10:47.929Z","dependency_job_id":null,"html_url":"https://github.com/helloxz/brook-relay","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/helloxz%2Fbrook-relay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2Fbrook-relay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2Fbrook-relay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2Fbrook-relay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helloxz","download_url":"https://codeload.github.com/helloxz/brook-relay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250532005,"owners_count":21446099,"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":[],"created_at":"2024-11-10T10:11:12.170Z","updated_at":"2025-04-23T23:31:27.488Z","avatar_url":"https://github.com/helloxz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brook-relay\n基于brook relay进行端口转发，打包为Docker镜像。\n\n\n\n## 自行构建\n\n```bash\n#克隆代码\ngit clone https://github.com/helloxz/brook-relay.git\n#进入代码目录\ncd brook-relay\n#构建Docker镜像\ndocker build -t brook-relay .\n#运行容器\ndocker run -itd -e DIP=\"192.168.1.222\" -e DPORT=\"22\" -p 2293:9999 brook-relay\n```\n\n* DIP:为目标IP\n* DPORT:目标端口\n* 2293:本地主机端口（可自行修改）\n\n\n\n## Docker hub\n\n如果不想自行构建镜像的同学，也可以直接运行xiaoz已经构建好的镜像，命令为：\n\n```\ndocker run -itd -e DIP=\"192.168.1.222\" -e DPORT=\"22\" -p 2293:9999 helloz/brook-relay\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloxz%2Fbrook-relay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloxz%2Fbrook-relay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloxz%2Fbrook-relay/lists"}