pkg.soopen package index

brew / 排名 8522

使用 Homebrew, apk, Nix, scoop 安装 rathole

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install rathole

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add rathole

Alpine Linux edge package indexes · rathole · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#rathole

nixpkgs package indexes · pkgs/by-name/ra/rathole/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/rathole

Scoop official bucket manifest trees · bucket/rathole.json · 来源: api.github.com

概览

软件包摘要

Reverse proxy for NAT traversal

命令和别名

  • rathole

历史

项目历史与用法

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.

时间线

  • Initial project: Rathole was published as a Rust client/server reverse-tunneling utility.
  • Later development: The project moved to the rathole-org organization and expanded its transport, encryption, and reload capabilities.

Related projects

  • frp is a related open-source reverse-proxy and tunneling system.
  • ngrok provides a managed tunneling service for exposing local endpoints.

来源

  • Official README: https://github.com/rathole-org/rathole#readme
  • Official documentation: https://github.com/rathole-org/rathole/tree/main/docs
  • source_facts.package-manager

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/rathole/<instance>.toml~/.local/etc/rathole/<instance>.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
/etc/rathole/<instance>.toml~/.local/etc/rathole/<instance>.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ratholecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本0.5.0
管理器更新时间2026-10-15
本地数据OK
上游当前
检测到的最新版本v0.5.0

https://github.com/rathole-org/rathole

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖pkgconf, rust
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namerathole
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

rathole

nix profile install nixpkgs#rathole
  • normalized package name match
  • 匹配方式:Rathole
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ra/rathole/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

rathole 0.5.0-r0

High-performance reverse proxy for NAT traversal

https://github.com/rapiz1/rathole

sudo apk add rathole
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: rathole
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Rathole
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: rathole from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
Scoop95%

main/rathole

scoop install main/rathole
  • normalized package name match
  • 匹配方式:Rathole
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/rathole.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation