{"id":37214740,"url":"https://github.com/eirture/tcp-proxy","last_synced_at":"2026-01-15T00:50:48.166Z","repository":{"id":65198105,"uuid":"411973383","full_name":"eirture/tcp-proxy","owner":"eirture","description":"A TCP proxy command line tool, written in Golang","archived":false,"fork":false,"pushed_at":"2025-06-01T14:14:27.000Z","size":234,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-01T23:24:28.887Z","etag":null,"topics":["cli","golang","tcp-proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eirture.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2021-09-30T07:54:22.000Z","updated_at":"2025-06-01T14:14:30.000Z","dependencies_parsed_at":"2024-06-20T02:48:26.084Z","dependency_job_id":"a73b0858-2a74-4355-b398-e8568350934f","html_url":"https://github.com/eirture/tcp-proxy","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/eirture/tcp-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eirture%2Ftcp-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eirture%2Ftcp-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eirture%2Ftcp-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eirture%2Ftcp-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eirture","download_url":"https://codeload.github.com/eirture/tcp-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eirture%2Ftcp-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28440551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:34:46.850Z","status":"ssl_error","status_checked_at":"2026-01-15T00:34:46.551Z","response_time":107,"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","golang","tcp-proxy"],"created_at":"2026-01-15T00:50:47.588Z","updated_at":"2026-01-15T00:50:48.161Z","avatar_url":"https://github.com/eirture.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tcp-proxy\n\nA TCP proxy command line tool.\n\n## Install\n\n```sh\n$ go get github.com/eirture/tcp-proxy/cmd/tcp-proxy\n```\n\nOr clone the repo and execute the `make install` command. You can also download binary executor from [release page](https://github.com/eirture/tcp-proxy/releases).\n\n## Usage\n\nPrint the help:\n\n```sh\n$ tcp-proxy -h\nUsage:\n  tcp-proxy REMOTE_IP [LOCAL_PORT:]REMOTE_PORT [...[LOCAL_PORT:]REMOTE_PORT_N] [flags]\n\nFlags:\n      --address string      Addresses to listen on. (default \"127.0.0.1\")\n  -h, --help                help for tcp-proxy\n  -x, --proxy string        Use the specified proxy (format: [protocol://]host[:port]).\n      --rate-limit string   Set the send and receive rate limit to n per second. eg: 1MB\n      --raw-bytes           Log bytes as raw number\n      --tee-rec string      tee path of received data\n      --tee-sen string      tee path of sent data\n  -v, --version             Print the version information.\n```\n\nThis command will proxy the `192.168.1.2:80` on `localhost:80`\n\n```sh\n$ tcp-proxy 192.168.1.2 80\n```\n\nor with another port on localhost\n\n```sh\n$ tcp-proxy 192.168.1.2 8080:80\n```\n\nwith multiple ports\n\n```sh\n$ tcp-proxy 192.168.1.2 8080:80 8443:443\n```\n\nYou can print the sent and received data to standard output\n\n```sh\n$ tcp-proxy 192.168.1.2 8080:80 8443:443 --tee-sen - --tee-rec -\n```\n\n## License\n\ntcp-proxy is released under the Apache 2.0 license. See [LICENSE.txt](/LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feirture%2Ftcp-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feirture%2Ftcp-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feirture%2Ftcp-proxy/lists"}