{"id":20667036,"url":"https://github.com/lu-zero/tcptunnel","last_synced_at":"2025-07-31T17:08:50.863Z","repository":{"id":38832758,"uuid":"195800966","full_name":"lu-zero/tcptunnel","owner":"lu-zero","description":"Simple udp -\u003e tcp -\u003e udp tunnel","archived":false,"fork":false,"pushed_at":"2023-05-29T13:02:34.000Z","size":140,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T19:22:28.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lu-zero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2019-07-08T11:45:38.000Z","updated_at":"2023-12-04T07:46:26.000Z","dependencies_parsed_at":"2025-04-19T17:10:34.900Z","dependency_job_id":"95226631-fe32-4445-9a77-b7c32163bb95","html_url":"https://github.com/lu-zero/tcptunnel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lu-zero/tcptunnel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Ftcptunnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Ftcptunnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Ftcptunnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Ftcptunnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lu-zero","download_url":"https://codeload.github.com/lu-zero/tcptunnel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Ftcptunnel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268074906,"owners_count":24191631,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-16T19:42:43.987Z","updated_at":"2025-07-31T17:08:50.832Z","avatar_url":"https://github.com/lu-zero.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UDP -\u003e TCP -\u003e UDP tunnel\n\n## Usage\n\n``` sh\n# Start the tunnel on the tcp -\u003e udp side\n$ tcptunnel -u \u003cip:port\u003e -t \u003cip:port\u003e\n\n# Start the tunnel on the udp -\u003e tcp side\n$ tcptunnel -u \u003cip:port\u003e -t \u003cip:port\u003e -s\n```\n\n``` sh\n# Setup two netcat in different consoles\n# Input\n$ nc6 -u localhost 5555\n# Output\n$ nc6 -ul localhost -p 6666\n\n# Copy from input to output (NOTE: it prioritizes ipv6 over ipv4)\n$ udpcopy -i udp://localhost:5555 -o udp://localhost:6666\n```\n\n``` sh\n# duplicate the input to two different sockets (any number)\n$ rtpbound -i udp://localhost:12340?buffer=100000 -o udp://localhost:12347?buffer=100000 -o udp://localhost:12349?buffer=100000\n# read from two identical inputs and forward to an output, one input may fail and the stream stays fine\n$ rtpbound -i udp://localhost:12349?buffer=100000 -i udp://localhost:12347?buffer=100000 -o udp://localhost:12348?buffer=100000\n```\n\n## Status\n\n- [x] UDP -\u003e TCP\n- [x] TCP -\u003e UDP\n- [x] copy UDP -\u003e UDP\n- [x] copy RTP -\u003e RTP and support multipath\n- [x] cli\n\n## Notes\n\nThanks to Edoardo Morandi for his help in debugging some async problems.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-zero%2Ftcptunnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flu-zero%2Ftcptunnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-zero%2Ftcptunnel/lists"}