{"id":15107319,"url":"https://github.com/qiuyuzhou/h2tun","last_synced_at":"2025-10-23T02:31:08.258Z","repository":{"id":151663989,"uuid":"256475781","full_name":"qiuyuzhou/h2tun","owner":"qiuyuzhou","description":"HTTP/2 tunnel - A plugin for shadowsocks","archived":false,"fork":false,"pushed_at":"2020-04-19T16:12:07.000Z","size":32,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-06T23:58:10.884Z","etag":null,"topics":["shadowsocks"],"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/qiuyuzhou.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-17T10:45:02.000Z","updated_at":"2024-06-19T09:05:24.056Z","dependencies_parsed_at":null,"dependency_job_id":"972eb8d0-5c23-4697-b0c9-04c470e20e69","html_url":"https://github.com/qiuyuzhou/h2tun","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiuyuzhou%2Fh2tun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiuyuzhou%2Fh2tun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiuyuzhou%2Fh2tun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiuyuzhou%2Fh2tun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qiuyuzhou","download_url":"https://codeload.github.com/qiuyuzhou/h2tun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219868395,"owners_count":16555747,"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":["shadowsocks"],"created_at":"2024-09-25T21:23:21.147Z","updated_at":"2025-10-23T02:31:02.976Z","avatar_url":"https://github.com/qiuyuzhou.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP/2 tunnel - A plugin for shadowsocks\n\n## Intro\n\n[h2tun](https://github.com/qiuyuzhou/h2tun) is a tunnel program over http/2 protocol,\nwhich has been developed as a plugin for shadowsocks. Its approach is similar to trojan,\nbut it is just a tcp tunnel over http/2, there is no proxy feature.\n\n## Features\n\n* Tunnel over http/2 with TLS\n* Tunnel over http/2 cleartext\n\n## Usage\n\nThe possible options can pass to the env var `SS_PLUGIN_OPTIONS`.\n\nShared Options:\n\n| Name | Description |\n| --- | --- |\n| path={value} | Specify a handle path for tunnel. Default is `/h2tunnel`. You should always specify a secret value. |\n\nClient Mode Options:\n\n| Name | Description |\n| --- | --- |\n| tls | Connect server by http/2 with TLS. Otherwise over http/2 cleartext |\n\nServer Mode Options:\n\n| Name | Description |\n| --- | --- |\n| server | Run in serve mode. Otherwise run in client mode.|\n| keyFile={value} | The tls cert key file path. |\n| certFile={value} | The tls cert file path. |\n\n## Deployment\n\nRecommend to deply a `http reverse proxy` in front of the server.\nThe `http reverse proxy` should support proxy to upsream by `h2c`.\n\n* [Apache Tttp Server](https://httpd.apache.org/) with mod_http2\n* [Traefik](https://docs.traefik.io/)\n\n`h2tun \u003c--[h2]--\u003e http reverse proxy \u003c--[h2c]--\u003e h2tun`\n\n* `h2` is HTTP/2 over TLS (protocol negotiation via ALPN).\n* `h2c` is HTTP/2 over TCP.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiuyuzhou%2Fh2tun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqiuyuzhou%2Fh2tun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiuyuzhou%2Fh2tun/lists"}