BROOK

Brook

Build Status Go Report Card License: GPL v3 Wiki

Brook

Brook is a cross-platform (Linux / MacOS / Windows / Android /
iOS) proxy / vpn software.
Brook’s goal is to remain simple, stupid, and undetectable.

GITHUB Address

https://github.com/txthinking/brook#what-is-brook

Instructions:

Since brook is software that supports multiple vpn methods, you only need to enter the commands according to its configuration requirements. No additional setup is needed.

Download

Download Server/Client OS Arch Notes
BROOK Server and Client Linux AMD64 CLI
brook_linux_386 Server and Client Linux 386 CLI
brook_linux_arm64 Server and Client Linux arm64 CLI
brook_linux_arm5 Server and Client Linux arm5 CLI
brook_linux_arm6 Server and Client Linux ARM6 CLI
brook_linux_arm7 Server and Client Linux ARM7 CLI
brook_linux_mips Server and Client Linux MIPS CLI
brook_linux_mipsle Server and Client Linux mipsle CLI
brook_linux_mips64 Server and Client Linux MIPS64 CLI
brook_linux_mips64le Server and Client Linux mips64le CLI
brook_linux_ppc64 Server and Client Linux PPC64 CLI
brook_linux_ppc64le Server and Client Linux ppc64le CLI
brook_macos_amd64 Server and Client macOS AMD64 CLI
brook_windows_amd64.exe Server and Client Windows AMD64 CLI
brook_windows_386.exe Server and Client Windows 386 CLI
Brook.dmg Client macOS AMD64 GUI
Brook.Setup.exe Client Windows AMD64 GUI
App Store Client iOS GUI
Brook.apk (without Google Play) Client Android GUI

ArchLinux

sudo pacman -S brook

Snap

sudo snap install brook

MacOS(GUI)

brew cask install brook

Brook

NAME:
   Brook - A Cross-Platform Proxy Software

USAGE:
   brook [global options] command [command options] [arguments...]

VERSION:
   20180707

AUTHOR:
   Cloud <[email protected]>

COMMANDS:
     server         Run as server mode
     servers        Run as multiple servers mode
     client         Run as client mode
     tunnel         Run as tunnel mode
     tproxy         Run as tproxy mode, transparent proxy, only works on Linux
     streamserver   Run as server mode
     streamservers  Run as multiple servers mode
     streamclient   Run as client mode
     ssserver       Run as shadowsocks server mode, fixed method is aes-256-cfb
     ssservers      Run as shadowsocks multiple servers mode, fixed method is aes-256-cfb
     ssclient       Run as shadowsocks client mode, fixed method is aes-256-cfb
     socks5         Run as raw socks5 server
     relay          Run as relay mode
     relays         Run as multiple relays mode
     qr             Print brook server QR code
     socks5tohttp   Convert socks5 to http proxy
     systemproxy    Set system proxy with pac url, or remove, only works on MacOS/Windows
     help, h        Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --debug, -d               Enable debug
   --listen value, -l value  Listen address for debug (default: ":6060")
   --help, -h                show help
   --version, -v             print the version

Run the Server

# Run as a brook server
$ brook server -l :9999 -p password
# Run as multiple brook servers
$ brook servers -l ":9999 password" -l ":8888 password"

 

Client (CLI) Run the Client

# Run as brook client, start a socks5 proxy socks5://127.0.0.1:1080
$ brook client -l 127.0.0.1:1080 -i 127.0.0.1 -s server_address:port -p password
# Run as brook client, start a http(s) proxy http(s)://127.0.0.1:8080
$ brook client -l 127.0.0.1:8080 -i 127.0.0.1 -s server_address:port -p password --http

Client (GUI)

 

Tunnel

# Run as tunnel 127.0.0.1:5 to 1.2.3.4:5
$ brook tunnel -l 127.0.0.1:5 -t 1.2.3.4:5 -s server_address:port -p password

Tproxy

See wiki

Relay

# Run as relay to 1.2.3.4:5
$ brook relay -l :5 -r 1.2.3.4:5

Socks5

# Run as a raw socks5 server 1.2.3.4:1080
$ brook socks5 -l :1080 -i 1.2.3.4

Socks5 to HTTP

# Convert socks5://127.0.0.1:1080 to http(s)://127.0.0.1:8080 proxy
$ brook socks5tohttp -l 127.0.0.1:8080 -s 127.0.0.1:1080

Shadowsocks

# Run as a shadowsocks server
$ brook ssserver -l :9999 -p password
# Run as multiple shadowsocks servers
$ brook ssservers -l ":9999 password" -l ":8888 password"

If you run a public/shared server, do not forget this
parameter –tcpDeadline

# Run as shadowsocks client, start a socks5 proxy socks5://127.0.0.1:1080
$ brook ssclient -l 127.0.0.1:1080 -i 127.0.0.1 -s server_address:port -p password
# Run as shadowsocks client, start a http(s) proxy http(s)://127.0.0.1:8080
$ brook ssclient -l 127.0.0.1:8080 -i 127.0.0.1 -s server_address:port -p password --http

Leave a Comment

Your email address will not be published. Required fields are marked *

中文 EN
🚀

RedGate VPN

免费节点太挤太慢?
升级高速稳定专线

立即体验 →

告别卡顿

RedGate VPN
全球高速节点

免费下载 →
Scroll to Top