Seeker:透明代理工具 | AI生成和翻译

Home 2025.12

问题:GitHub 仓库 https://github.com/gfreezy/seeker 是做什么的?

回答: GitHub 仓库 gfreezy/seeker 是一个主要用 Go 编写的开源工具,它使用 TUN 虚拟网络接口实现透明代理。它能够在 macOS 和 Linux 系统上通过 Shadowsocks、SOCKS5 或 HTTP 等代理无缝路由网络流量(TCP、UDP 和 ICMP/ping)。该项目模拟 Surge 的增强模式用于本地流量拦截,以及网关模式用于代理局域网(LAN)上的设备。

主要功能

安装

发布页面 下载 macOS 或 Linux 的预编译二进制文件,然后使其可执行:

chmod +x seeker-osx  # macOS
chmod +x seeker-linux  # Linux

从源代码构建:

git clone https://github.com/gfreezy/seeker.git
cd seeker
OPENSSL_STATIC=yes cargo build --release

二进制文件将位于 target/release/seeker

使用示例

使用本地 YAML 配置运行(需要 sudo 来设置 TUN):

sudo seeker --config path/to/config.yml

对于远程加密配置:

sudo seeker --config-url https://example.com/encrypted-config.txt --key mypassword

生成加密配置:

seeker --config config.yml --encrypt --key mypassword > encrypted-config.txt

一个示例配置可在 此处 获取,支持原生服务器格式或 Clash 风格的 proxies

警告

此工具对于需要轻量级、基于规则的代理设置(类似于 Surge 或 Clash 等商业应用)的用户非常有用,尤其是在受审查的网络环境中。

GitHub - gfreezy/seeker


Back

x-ai/grok-4.1-fast

Donate