{"id":13509829,"url":"https://github.com/ooclab/otunnel","last_synced_at":"2026-03-10T20:52:39.335Z","repository":{"id":118251627,"uuid":"73063794","full_name":"ooclab/otunnel","owner":"ooclab","description":"peer-to-peer tunnel tool","archived":false,"fork":false,"pushed_at":"2019-01-05T02:52:30.000Z","size":3824,"stargazers_count":239,"open_issues_count":6,"forks_count":57,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-08-14T12:33:47.409Z","etag":null,"topics":["forward-proxy","golang","network","peer-to-peer","proxy","reverse-proxy","tunnel"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ooclab.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,"governance":null}},"created_at":"2016-11-07T09:44:38.000Z","updated_at":"2024-10-25T15:45:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"45e49fb1-b6dd-4928-9440-c285dfcbe7ff","html_url":"https://github.com/ooclab/otunnel","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ooclab/otunnel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooclab%2Fotunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooclab%2Fotunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooclab%2Fotunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooclab%2Fotunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ooclab","download_url":"https://codeload.github.com/ooclab/otunnel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ooclab%2Fotunnel/sbom","scorecard":{"id":707897,"data":{"date":"2025-08-11","repo":{"name":"github.com/ooclab/otunnel","commit":"e09cb9e11d183274360cd509e84cfbfa671367e9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0209 / GHSA-r5c5-pr8j-pfp7","Warn: Project is vulnerable to: GO-2023-1992 / GHSA-x3jr-pf6g-c48f","Warn: Project is vulnerable to: GO-2022-0229 / GHSA-cjjc-xp8v-855w","Warn: Project is vulnerable to: GO-2020-0012 / GHSA-ffhg-7mh4-33c4","Warn: Project is vulnerable to: GO-2021-0227 / GHSA-3vm4-22fp-5rfm","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: CVE-2021-28484"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T07:15:35.231Z","repository_id":118251627,"created_at":"2025-08-22T07:15:35.231Z","updated_at":"2025-08-22T07:15:35.231Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30354923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["forward-proxy","golang","network","peer-to-peer","proxy","reverse-proxy","tunnel"],"created_at":"2024-08-01T02:01:13.904Z","updated_at":"2026-03-10T20:52:39.297Z","avatar_url":"https://github.com/ooclab.png","language":"Go","funding_links":[],"categories":["Go","\u003ca id=\"01e6651181d405ecdcd92a452989e7e0\"\u003e\u003c/a\u003e工具","proxy"],"sub_categories":["\u003ca id=\"9d6789f22a280f5bb6491d1353b02384\"\u003e\u003c/a\u003e隧道\u0026\u0026穿透"],"readme":"# otunnel\n\notunnel is a simple safe tunnel for peer-to-peer\n\n## Build\n\nsimple build (RECOMMENDED):\n\n```\n$ ./build-by-docker.sh\n```\n\nothers:\n\n```\n$ go get -v github.com/ooclab/otunnel\n$ export GOPATH=${GOPATH:-~/go}\n$ cd $GOPATH/src/github.com/ooclab/otunnel\n\n$ # use any of following commands to build otunnel\n\n$ make                    # normal build\n$ make static             # build a static program\n$ go build -v             # the go build\n$ gox                     # simple cross build, you should install gox first!\n```\n\n### Platform Example\n\n#### dd-wrt\n\nNetgear WNDR4300 (Firmware: DD-WRT v3.0-r37882 std (11/30/18))\n\n```\nGOOS=linux GOARCH=mips GOMIPS=softfloat go build -a -ldflags '-s -w'\n```\n\n## Usage\n\nStart a server at a public server ( example.com ):\n\n```\n./otunnel listen -d\n```\n\nStart a client (reverse forward):\n\n```\n./otunnel connect example.com:10000 -d -t r:LOCAL_HOST:LOCAL_PORT::REMOTE_PORT\n```\n\nNow, anyone can access your `LOCAL_HOST:LOCAL_PORT` by `example.com:REMOTE_PORT`.\n\n## SystemD\n\nIn the server side (listen a port) , create `/etc/systemd/system/otunnel-listen.service` :\n\n```\n[Unit]\nDescription=Otunnel Listen Service\nAfter=network.target\n\n[Service]\nType=simple\nRestart=on-failure\nExecStart=/usr/local/bin/otunnel listen :20000 -d -s THE_SECRET\n\n[Install]\nWantedBy=multi-user.target\n```\n\nstart `otunnel-listen` service:\n```\nsystemctl start otunnel-listen\n```\n\nIn the client side, create `/etc/systemd/system/otunnel-connect.service` :\n\n```\n[Unit]\nDescription=Otunnel Connect Service\nAfter=network.target\n\n[Service]\nType=simple\nRestart=on-failure\nExecStart=/usr/local/bin/otunnel connect YOUR_SERVER_IP:20000 -d -s THE_SECRET -t \"r:127.0.0.1:22::50022\"\n\n[Install]\nWantedBy=multi-user.target\n```\n\nstart `otunnel-connect` service:\n```\nsystemctl start otunnel-connect\n```\n\n## Docker\n\nRun a server:\n\n```\ndocker run --rm -it --net=host ooclab/otunnel-amd64 /otunnel listen :10000 -d -s abc123\n```\n\nRun a client:\n\n```\ndocker run --rm -it --net=host ooclab/otunnel-amd64 /otunnel connect SERVER_IP:10000 -d -s abc123 -t 'f:127.0.0.1:10022:HOST_IP:HOST_PORT'\n```\n\n## Document\n\n[Wiki / 手册](https://github.com/ooclab/otunnel/wiki)\n\n## Download\n\n[Download](http://dl.ooclab.com/otunnel/)\n\nFor example:\n\n```\nwget http://dl.ooclab.com/otunnel/1.2.3/otunnel_linux_amd64.xz\nunxz otunnel_linux_amd64.xz\nchmod a+x otunnel_linux_amd64\nmv otunnel_linux_amd64 otunnel\n```\n\n## Help\n\nPlease send issues to [github.com/ooclab/otunnel/issues](https://github.com/ooclab/otunnel/issues) .\n\n## Other Projects\n\n- qtunnel\n- ngrok\n- frp\n- pagekite\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fooclab%2Fotunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fooclab%2Fotunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fooclab%2Fotunnel/lists"}