netch README

The project's README from github.com/netchx/netch. As one markdown file: README.md.

Netch

Netch

专为游戏加速打造的 Windows x64 开源网络代理客户端

Build Release GPLv3 Windows x64

简体中文 · English

快速开始 · 核心特性 · 工作模式 · 支持协议 · 安装与依赖 · 常见问题 · 从源码构建 · 下载 Releases

[!IMPORTANT] 需 Windows 10 1809+ / Windows 11 x64 与管理员权限;请完整解压后运行 Netch.App.exe。

核心特性

工作模式

模式 机制 适用场景 额外条件
进程模式 NetFilter 驱动(nfdriver.sys)按进程与目标 IP 拦截 PC 游戏首选,支持实时连接监控与热规则 系统 BFE 服务需运行
TUN 模式 WinTUN + tun2socks + 内置 AioDNS(UDP / TCP / DoT / DoH) 难捕获游戏、UWP 与全局/分流路由 支持无 AVX2 的 x64 CPU
共享模式 pcap2socks 抓包转发 主机(PS / Xbox / Switch)及局域网设备 需安装 Npcap 与 VC++ x64
网页代理 本地混合端口 + WinINet / PAC 系统代理 浏览器与日常网页,免驱动、无 UDP 要求 无

[!TIP] 单场景支持多选进程模式并叠加网页代理或共享模式并发运行;TUN 模式可多选合并路由,但与上述三类模式互斥。

支持协议

内置支持 19 种代理协议,并支持 External CLI 外部节点 与 按协议自定义核心:

协议 UDP 默认核心 扩展 / 备注
VLESS / VMess / Trojan ✅ Mihomo Xray-core(XHTTP)· sing-box
Shadowsocks ✅ UoT Mihomo Xray-core(XHTTP)· sing-box
ShadowsocksR ✅ Mihomo —
ShadowTLS ⚠️ UoT Mihomo sing-box(v1 / 自定义 PEM)
Hysteria2 / TUIC / AnyTLS ✅ Mihomo sing-box
TrustTunnel / Mieru / ShadowQUIC ✅ Mihomo —
WireGuard / AmneziaWG ✅ Mihomo sing-box(WireGuard 多接口地址)
NaiveProxy ❌ sing-box 随附 libcronet.dll
MASQUE ✅ sing-box 需在下载页替换为 >= 1.15.0-alpha.7
SOCKS5 ✅ UoT 直连 / Mihomo sing-box(UoT)
HTTP / HTTPS / SSH ❌ Mihomo sing-box
External CLI(外部命令行节点) 按核心而定 第三方 CLI 可直出 SOCKS5;网页代理经 Mihomo 桥接 HTTP

✅ 原生支持 UDP · ✅ UoT 支持 UDP 及 UoT · ⚠️ UoT 需开启 UoT · ❌ 不支持 UDP

查看多核心自动分流与自定义核心细则
  • VLESS / VMess / Trojan:VLESS 标准 XHTTP 由 Mihomo 处理;XHTTP 高级特性(REALITY / HTTP/3 等)及 VMess / Trojan 的 XHTTP 由 Xray-core 处理;QUIC、明文 H2、Trojan H2/明文及自定义 PEM 由 sing-box 处理。
  • Shadowsocks / ShadowsocksR:Shadowsocks 支持 obfs-local、v2ray-plugin 与 ssd://,XHTTP 由 Xray-core 处理,v2ray-plugin QUIC 模式与自定义 PEM 由 sing-box 处理;ShadowsocksR 支持 ssr:// 与 Clash YAML 导入。
  • ShadowTLS / Hysteria2 / TUIC / AnyTLS:ShadowTLS v2/v3 由 Mihomo 处理,v1 或自定义 PEM 由 sing-box 处理;Hysteria2 短跳跃间隔(<5s)/ hop-interval-max / bbr-profile 及三者的自定义 PEM 由 sing-box 处理。
  • TrustTunnel / Mieru / ShadowQUIC / AmneziaWG:均由内置 Mihomo 原生处理并支持 UDP(TrustTunnel 支持 tt:// / HTTP/2 / HTTP/3 QUIC / ECH;Mieru 支持 mierus:// / TCP/UDP;ShadowQUIC 支持 shadowquic:// / 0-RTT;AmneziaWG 支持 amneziawg:// / awg://)。
  • WireGuard / SOCKS5 / MASQUE / HTTP / SSH:WireGuard 同地址族多接口地址、SOCKS5 UoT、HTTP 多值 Header / ALPN / Fingerprint / PEM 与 SSH 自定义 client-version 由 sing-box 处理;MASQUE 需自行将 sing-box 更新至 >= 1.15.0-alpha.7。
  • 按协议自定义核心:在「设置 → 自定义核心」中可按协议绑定外部核心及配置模板,按「节点 → 订阅 → 协议默认 → 内置核心」优先级解析。

[!NOTE] 游戏加速(进程 / TUN / 共享模式)通常依赖 UDP 转发;HTTP / HTTPS、SSH、NaiveProxy 不支持 UDP,ShadowTLS 需开启 UoT,同时需确认服务端已开启 UDP 转发。

安装与环境依赖

发行包 / 场景 手动依赖 安装与说明
自带框架版 *-winui-x64-self-contained.zip / .7z(推荐) 零依赖 已内置 .NET 10 与 Windows App SDK 2.7,除共享模式外解压即用。
系统框架版 *-winui-x64-framework-dependent.zip / .7z 1 项 需先安装 .NET 10 Runtime (x64)(winget install Microsoft.DotNet.Runtime.10)。
仅启用共享模式(主机 / 局域网,两包均同) 2 项 1. Npcap:安装时必须勾选 Install Npcap in WinPcap API-compatible Mode。
2. VC++ v14 Redistributable (x64)(winget install Microsoft.VCRedist.2015+.x64),用于 bin/pcap2socks.exe。

常见问题
  • 提示缺少 bin/ 文件:通常为安全软件隔离了 nfdriver.sys、Redirector.bin、nfapi.dll、RouteHelper.bin、wintun.dll 或 bin/sing_box/libcronet.dll,将目录加入白名单后重新解压即可。
  • ARM64 Windows:可在 x64 仿真下运行主界面与网页代理模式,但无法加载 x64 内核驱动(nfdriver.sys / wintun.dll),进程模式与 TUN 模式不可用。

快速开始

  1. 从 Releases 下载对应发行包,解压后运行 Netch.App.exe。
  2. 通过首次向导或在「节点」页导入订阅、Clash YAML 或剪贴板 URI 并测速。
  3. 在「场景」页选择模式与节点,点击卡片即可开始加速。

从源码构建

需 Visual Studio 2026(“使用 C++ 的桌面开发”工作负载)与 .NET 10 SDK:

git clone https://github.com/NetchX/Netch.git
cd Netch
.\build.ps1 -Configuration Release -OutputPath release                                        # 自带 .NET 10 运行时(默认)
.\build.ps1 -Configuration Release -OutputPath release-framework-dependent -SelfContained $false # 系统 .NET 10 Runtime

本地测试包可用 -OutputPath artifacts/test-win-x64 集中存放。每次构建会重建指定的输出目录。

致谢

Netch 的实现离不开以下优秀的开源项目、驱动与数据维护者,谨此致谢:

核心与转发组件

驱动与系统依赖

外部数据与检测

社区与许可证

Telegram:频道 · 群组 · 基于 GNU General Public License v3.0 发布,各第三方组件遵循各自许可证(详见 NOTICE.txt)。

netch (netchx/netch)

Searching Database…

17.7K ·GitHub
What is this?Netch is a simple, free and open-source proxy client for Windows that routes your traffic through proxy servers. It has been on GitHub since 2019 and has about 17.7k stars.
Is this a program I install on my PC, or something like a browser extension?A desktop app you install on Windows, with a GUI. Unlike a browser extension, it works at the system level - intercepting whole processes' traffic or all traffic via a virtual adapter.
How do I get it running?Download the latest release from the GitHub Releases page and run it on Windows. The repository's CI workflows build and publish releases automatically.
Do I need to install .NET or anything else first?The README lists .NET 6.0 x64, so you need a 64-bit machine with the .NET 6.0 runtime. No other prerequisites are mentioned.
Is the project in a stable state right now?Headline caveat: the repository is being cleared of all 1.0-related releases and code in preparation for version 2.0, and the README notes some features may not be implemented in version 1.
Can I use it on macOS or Linux?Windows only. It relies on Windows-specific drivers (Netfilter, WinTUN, WinPcap/Npcap) and ships as a 64-bit .NET 6.0 app, so macOS and Linux are not supported.
Which proxy protocols can it connect with?Seven: Socks5, Shadowsocks, ShadowsocksR, WireGuard, Trojan, VMess and VLESS - the classic set of protocols used for censorship circumvention and private connections.
How does it actually route my traffic?Four ways: ProcessMode uses a Netfilter driver to intercept traffic of chosen processes, TunMode creates a virtual adapter with WinTUN, ShareMode shares your network via WinPcap/Npcap, and WebMode is a plain web proxy.
Does it handle UDP traffic, for example for games?Yes - it supports UDP NAT FullCone, though the README notes this is limited by your server's own NAT behaviour.
Creator
netchx
Size
53 MB
Stars
17.7K
Age
7y
Commits · 90 Days