{"id":15750342,"url":"https://github.com/nwtgck/yamux-cli-rust","last_synced_at":"2026-02-16T13:33:02.085Z","repository":{"id":36994777,"uuid":"453114816","full_name":"nwtgck/yamux-cli-rust","owner":"nwtgck","description":"CLI of multiplexing TCP and UDP using yamux","archived":false,"fork":false,"pushed_at":"2024-10-20T21:06:19.000Z","size":74,"stargazers_count":2,"open_issues_count":12,"forks_count":1,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-05-07T08:09:39.964Z","etag":null,"topics":["cli","multiplexer","tcp","yamux"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/nwtgck.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2022-01-28T15:17:41.000Z","updated_at":"2025-02-20T14:12:59.000Z","dependencies_parsed_at":"2024-10-04T06:40:30.526Z","dependency_job_id":"b0006fb5-4d19-4f47-bb51-0a96ccac762f","html_url":"https://github.com/nwtgck/yamux-cli-rust","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/nwtgck/yamux-cli-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fyamux-cli-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fyamux-cli-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fyamux-cli-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fyamux-cli-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/yamux-cli-rust/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fyamux-cli-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29509132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: 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":["cli","multiplexer","tcp","yamux"],"created_at":"2024-10-04T06:40:23.587Z","updated_at":"2026-02-16T13:33:02.065Z","avatar_url":"https://github.com/nwtgck.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yamux\n[![CI](https://github.com/nwtgck/yamux-cli-rust/actions/workflows/ci.yml/badge.svg)](https://github.com/nwtgck/yamux-cli-rust/actions/workflows/ci.yml)\n\nCLI of multiplexing TCP and UDP using [yamux](https://github.com/hashicorp/yamux/blob/master/spec.md)\n\n### Linux\n\n```bash\ncurl -L https://github.com/nwtgck/yamux-cli-rust/releases/download/v0.3.0/yamux-x86_64-unknown-linux-musl.tar.gz | tar xzf -\n./yamux-x86_64-unknown-linux-musl/yamux --help\n```\n\n### macOS (Intel)\n\n```bash\ncurl -L https://github.com/nwtgck/yamux-cli-rust/releases/download/v0.3.0/yamux-x86_64-apple-darwin.tar.gz | tar xzf -\n./yamux-x86_64-apple-darwin/yamux --help\n```\n\n### macOS (Apple Silicon)\n\n```bash\ncurl -L https://github.com/nwtgck/yamux-cli-rust/releases/download/v0.3.0/yamux-aarch64-apple-darwin.tar.gz | tar xzf -\n./yamux-aarch64-apple-darwin/yamux --help\n```\n\nOther binaries are found in \u003chttps://github.com/nwtgck/yamux-cli-rust/releases\u003e.\n\n## Usage\n\n### TCP\n\n```bash\n... | yamux localhost 80 | ...\n```\n\n```bash\n... | yamux -l 8080 | ...\n```\n\n### Unix domain socket\n\n```bash\n... | yamux -U /unix/domain/socket/path | ...\n```\n\n```bash\n... | yamux -U -l /unix/domain/socket/path | ...\n```\n\n### UDP\n\n```bash\n... | yamux -u 1.1.1.1 53 | ...\n```\n\n```bash\n... | yamux -ul 1053 | ...\n```\n\n## Complete example\n\nHere is a complete simple example, but not useful. This is forwarding local 80 port to local 8080 port.\n\n```bash\nmkfifo my_pipe\ncat my_pipe | yamux localhost 80 | yamux -l 8080 \u003e ./my_pipe \n```\n\nAn expected usage of this CLI is to combine network tools and transport a remote port.\n\n## Port forwarding over NAT example\n\nHere is more practical usage. The commands below forward 22 port in machine A to 2222 port in another machine B.\n\n```bash\n# Machine A\ncurl -sSN https://ppng.io/aaa | yamux localhost 22 | curl -sSNT - https://ppng.io/bbb\n```\n\n```bash\n# Machine B\ncurl -sSN https://ppng.io/bbb | yamux -l 2222 | curl -sSNT - https://ppng.io/aaa\n```\n\n`https://ppng.io` is [Piping Server](https://github.com/nwtgck/piping-server), which streams data over pure HTTP. \n\n## Go implementation\n\u003chttps://github.com/nwtgck/yamux-cli\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fyamux-cli-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fyamux-cli-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fyamux-cli-rust/lists"}