{"id":13813780,"url":"https://github.com/Qv2ray/gun","last_synced_at":"2025-05-15T01:31:36.960Z","repository":{"id":54220158,"uuid":"324023893","full_name":"Qv2ray/gun","owner":"Qv2ray","description":"Toy gRPC Tunnel over CloudFlare (Proof of Concept)","archived":false,"fork":false,"pushed_at":"2022-06-20T14:00:50.000Z","size":100,"stargazers_count":161,"open_issues_count":0,"forks_count":27,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-05-08T20:41:32.291Z","etag":null,"topics":["cloudflare","grpc","grpc-go","sip003","tunnel"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/Qv2ray.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":"2020-12-23T23:43:40.000Z","updated_at":"2025-03-27T22:13:25.000Z","dependencies_parsed_at":"2022-08-13T09:30:38.699Z","dependency_job_id":null,"html_url":"https://github.com/Qv2ray/gun","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qv2ray%2Fgun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qv2ray%2Fgun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qv2ray%2Fgun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qv2ray%2Fgun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qv2ray","download_url":"https://codeload.github.com/Qv2ray/gun/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254256176,"owners_count":22040241,"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":["cloudflare","grpc","grpc-go","sip003","tunnel"],"created_at":"2024-08-04T04:01:30.305Z","updated_at":"2025-05-15T01:31:36.899Z","avatar_url":"https://github.com/Qv2ray.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# gun\n\n![branding](branding.png)\n\nYou know what it means.\n\n## Guide\n\n### Server\n\n1. Go to your domain in CloudFlare. In \"Network\" tab, turn on gRPC.\n\n2. In \"SSL/TLS\" tab, choose \"Source Servers\" sub tab. Create a new certificate and save as `cert.pem` and `cert.key`.\n\n3. In \"DNS\" Tab, add a record pointing to your own server. Make sure the proxy state is \"Proxied\".\n\n4. Run and persist this on your server. This example will forward the inbound traffic to `127.0.0.1:8899`.\n\n```bash\ngun -mode server -local :443 -remote 127.0.0.1:8899 -cert cert.pem -key cert.key\n```\n\n5. If you are using a TLS termination proxy, you can set `-cleartext` parameter to use HTTP/2 Cleartext transport\n   protocol.\n\n### Client\n\n1. Assume the domain of server is `grpc.example.com`.\n\n2. Run locally and persist. This will tunnel connections from `127.0.0.1:8899` to remote.\n\n```bash\ngun -mode client -local 127.0.0.1:8899 -remote grpc.example.com:443\n```\n\nThere's also a SIP003 plugin version, see it's [document](cmd/sip003/README) for instruction.\n\n## License\n\n~~Used to be AGPL3~~\nRelicensed to MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQv2ray%2Fgun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FQv2ray%2Fgun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQv2ray%2Fgun/lists"}