macOS
brew install ratholelocal Homebrew formula metadata
安装
brew install ratholelocal Homebrew formula metadata
sudo apk add ratholeAlpine Linux edge package indexes · rathole · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#ratholenixpkgs package indexes · pkgs/by-name/ra/rathole/package.nix · 来源: api.github.com
scoop install main/ratholeScoop official bucket manifest trees · bucket/rathole.json · 来源: api.github.com
概览
Reverse proxy for NAT traversal
历史
Rathole is a Rust reverse proxy that creates tunnels between a public server and clients behind NAT, allowing otherwise unreachable services to be exposed through configured endpoints.
Rathole was created as a secure, high-performance reverse proxy for exposing services located behind NAT. The project later moved under the rathole-org GitHub organization while preserving its Rust implementation and configuration-oriented client/server model.
Development added multiple transport and security choices, service-level mappings, hot reload support, and platform packaging. The project describes itself in relation to reverse-tunneling tools such as frp and ngrok.
Rathole is packaged for Homebrew, Alpine Linux, Nix, and Scoop, giving the Rust binary coverage across common server and workstation environments.
Operators prepare TOML configuration files for the public server and private client, define matching services and tokens, then start each side with `rathole` and the relevant file. A configuration containing only a server or client section lets the program infer its mode; explicit `--server` and `--client` modes are also available.
The documentation uses user-selected files such as `config.toml`; it does not prescribe a persistent platform-specific configuration or credentials-file location. Authentication tokens are normally values inside the chosen configuration.
Rathole appeals to self-hosters and infrastructure-oriented package users as a compact, cross-platform reverse-tunneling binary. Its declarative TOML setup and optional transports make it a notable Rust alternative in the NAT-traversal tool family.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/rathole/<instance>.toml~/.local/etc/rathole/<instance>.tomlCredential-bearing paths to review before unattended agent runs.
/etc/rathole/<instance>.toml~/.local/etc/rathole/<instance>.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
rathole | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/rathole-org/rathole
安装元数据
| 软件包键 | brew:rathole |
|---|---|
| 版本 | 0.5.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/rathole |
| 主页 | https://github.com/rathole-org/rathole |
| 仓库 | https://github.com/rathole-org/rathole |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/rathole-org/rathole/archive/refs/tags/v0.5.0.tar.gz |
| 最后更新 | 2026-10-15T23:27:01Z |
| Pulse | updated |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | rathole |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
rathole
nix profile install nixpkgs#ratholerathole 0.5.0-r0
High-performance reverse proxy for NAT traversal
https://github.com/rapiz1/rathole
sudo apk add ratholemain/rathole
scoop install main/rathole来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.