# 使用 Homebrew 安装 tcptunnel

查看 tcptunnel 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:tcptunnel
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tcptunnel
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:tcptunnel
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tcptunnel>
- **版本:** 0.8
- **来源摘要:** TCP port forwarder
- **主页:** <https://vakuumverpackt.de/tcptunnel/>
- **仓库:** <https://github.com/vakuum/tcptunnel>
- **上游文档:** <https://vakuumverpackt.de/tcptunnel/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/vakuum/tcptunnel/archive/refs/tags/v0.8.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tcptunnel (cli)
- tcptunnel (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8
- 本地数据: OK
- 上游仓库: https://github.com/vakuum/tcptunnel
- 检测到的最新版本: v0.8 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

tcptunnel is a small TCP port forwarder by Clemens Fuchslocher. It listens on a local TCP port and forwards received data to a remote host, making it a simple utility for redirecting TCP-based protocols.

### 项目历史

The official homepage and ChangeLog date the first public release to 2000-08-15. Later entries show the portability-driven shape of the project: HP-UX and SunOS support in 2000, Windows support in 2004, renewed cleanup and fork-based concurrency in 2010, Cygwin fork support in 2013, and Mac OS X support in version 0.8.

### 采用历史

The supplied package metadata shows Homebrew packaging, and the README explicitly thanks a Homebrew pull request for Mac OS X installation instructions. The official homepage also provided source and Windows binary downloads, so the tool was distributed both as a small upstream tarball and as a package-manager formula.

### 使用方式

The official documentation describes redirecting TCP-based protocols such as HTTP, IRC, NNTP, SSH, and SMTP. The CLI exposes local and remote port settings, remote host, bind and client address controls, buffer size, forked concurrency, logging, and stay-alive behavior.

### 为什么软件包爱好者会关心

tcptunnel is the kind of package that remains useful because it is minimal: install it, bind a local port, and forward bytes. It matters in the package-nerd niche as a compact alternative when a full proxy, SSH tunnel setup, or larger networking toolkit would be unnecessary.

### 时间线

- 2000-08-15: tcptunnel 0.1 first public release.
- 2000-09-14: 0.1g added HP-UX and SunOS support.
- 2004-12-28: 0.2 added Windows support.
- 2010-09-21: Added fork-based concurrent client handling.
- 2013-10-27: 0.8 added Mac OS X support and a buffer-size option.

### Related projects

- The official page frames tcptunnel around TCP-based protocols including HTTP, IRC, NNTP, SSH, and SMTP; Cygwin and MinGW appear as Windows build environments in the README.

### 来源

- <https://github.com/vakuum/tcptunnel#readme>
- <https://raw.githubusercontent.com/vakuum/tcptunnel/master/ChangeLog>
- <https://vakuumverpackt.de/tcptunnel/>
- input source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tcptunnel
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [redir](https://pkg.so/zh-hans/brew/redir/) - Shares pkgdb curated category or tags: cli, networking, port-forwarding, tcp.
- [udptunnel](https://pkg.so/zh-hans/brew/udptunnel/) - Shares pkgdb curated category or tags: cli, networking, tcp, tunneling.
- [socat](https://pkg.so/zh-hans/brew/socat/) - Shares pkgdb curated category or tags: cli, networking, tcp.
- [netcat](https://pkg.so/zh-hans/brew/netcat/) - Shares pkgdb curated category or tags: cli, networking, tcp.
- [v2ray](https://pkg.so/zh-hans/brew/v2ray/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [gost](https://pkg.so/zh-hans/brew/gost/) - Shares pkgdb curated category or tags: cli, networking, port-forwarding.
- [bore-cli](https://pkg.so/zh-hans/brew/bore-cli/) - Shares pkgdb curated category or tags: cli, networking, port-forwarding.
- [connect](https://pkg.so/zh-hans/brew/connect/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [boring](https://pkg.so/zh-hans/brew/boring/) - Local package facts share a topical domain. Shared terms: cli, forwarding, networking, port, port-forwarding.

## Combined YAML source

View the package source record on GitHub. [combined/tcptunnel.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tcptunnel.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
