Cross-platform programmable network tool and proxy that takes over the whole system's traffic
open coreGPL-3.0-onlyself-hostablefree
Brook is a cross-platform network tool: a server you run with one command and clients for iOS, Android, macOS, Windows, Linux and OpenWrt that take over the whole system's network (TCP, UDP, IPv4 and IPv6) rather than acting only as a proxy. Its client is programmable with scripts: choose DNS or DNS-over-HTTPS per domain, block ads and destinations, rewrite or route destinations to different servers, capture packets and intercept and modify HTTP and HTTPS, and see which app made each request. The server and basic client are GPL; paid plans unlock the advanced features and more devices.
Ways to install
Package managers
Problems it solves
- route traffic per domain through my own server on all devices
- programmable proxy client that blocks ads by DNS
- self-hosted proxy server with an iPhone client
Features
- system-wide TCP/UDP and IPv4/IPv6 takeover
- scriptable DNS, blocking and routing rules
- packet capture and HTTPS interception
- per-app request view on desktop
- one-command server
- clients for iOS, Android, desktop and OpenWrt
Ways to run it
Brook (open source)
Not included
- advanced programmable client features
You arrange
- a server for brook server
Brook Plus, Pro and Business
Plus $19/year (3 devices), Pro $39/year (8 devices), Business from $100/month4
Only in this edition
- all advanced (programmable) client features
- more devices
- user API and user system for businesses (Business)
Alternatives
The same job
These do what Brook does.
- Netch Windows proxy client that routes chosen processes or the whole system through Shadowsocks, VMess, Trojan and more
- mihomo (Clash Meta) Rule-based proxy kernel, the Clash Meta core, with VMess, VLESS, Shadowsocks, Trojan, TUIC and Hysteria support
- Shadowrocket Rule-based proxy client for iPhone and iPad that routes, logs and filters every app's traffic
