{"id":18581930,"url":"https://github.com/coder/wgtunnel","last_synced_at":"2025-04-10T23:04:15.451Z","repository":{"id":65978643,"uuid":"558468419","full_name":"coder/wgtunnel","owner":"coder","description":"HTTP tunnels over Wireguard","archived":false,"fork":false,"pushed_at":"2024-05-22T11:03:00.000Z","size":111,"stargazers_count":41,"open_issues_count":4,"forks_count":11,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-10T23:04:09.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/coder.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":"2022-10-27T15:53:35.000Z","updated_at":"2025-03-18T07:44:03.000Z","dependencies_parsed_at":"2024-05-08T12:44:10.180Z","dependency_job_id":"850546a5-c081-4100-ace5-ddd9f742e47f","html_url":"https://github.com/coder/wgtunnel","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"7027e23833cfa3c113e94a34c4f3503d0d57e7f9"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fwgtunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fwgtunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fwgtunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fwgtunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder","download_url":"https://codeload.github.com/coder/wgtunnel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312141,"owners_count":21082638,"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-07T00:08:24.008Z","updated_at":"2025-04-10T23:04:15.424Z","avatar_url":"https://github.com/coder.png","language":"Go","readme":"# wgtunnel\n\nwgtunnel is a simple WireGuard tunnel server. Clients can register themselves\nto the server with a single API request (done periodically in the background in\ncase the server restarts), and then connect to a WireGuard endpoint on the\nserver over UDP to tunnel.\n\nGenerated URLs are unique and are based on the WireGuard public key. Wildcards\nfor each tunnel are also semi-supported, using hyphens instead of periods to\nallow for TLS.\n\nThis is used by [Coder](https://github.com/coder/coder) to create tunnels for\ntrial/demo deployments with globally accessible URLs.\n\n## Deployment\n\nDeploy `tunneld` onto your server and configure it with environment variables or\nflags. Point the DNS entries `${base_url}` and `*.${base_url}` to the server. If\nyou want to use HTTPS, setup a proxy such as [Caddy](https://caddyserver.com/)\nin front of the server.\n\n`tunneld` is available on GitHub releases or can be installed with:\n\n```console\n$ go install github.com/coder/wgtunnel/cmd/tunneld\n```\n\nor by running `make build/tunneld`.\n\nYou can also use the Docker image `ghcr.io/coder/wgtunnel/tunneld`.\n\n## Usage\n\nEither use `tunnel` for easy usage from a terminal, or use the `tunnelsdk`\npackage to initiate a tunnel against the given API server URL. Remember to\nstore the private key for future tunnel sessions in a safe place, otherwise you\nwill get a new hostname!\n\n`tunnel` can be installed with:\n\n```console\n$ go install github.com/coder/wgtunnel/cmd/tunnel\n```\n\nor by running `make build/tunnel`.\n\n## License\n\nLicensed under the MIT license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fwgtunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder%2Fwgtunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fwgtunnel/lists"}