VPN技术 · 2023年11月10日 0

Brook

BROOK

Brook

Brook Brook Brook Brook

Brook

Brook是一个跨平台(Linux / MacOS / Windows / Android / iOS)代理/ vpn软件。
布鲁克的目标是保持简单,愚蠢,不可察觉。

GITHUB地址

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

使用说明:

因为brook是一款支持多种vpn方式的额软件,您只要按照他的配置要求输入命令就可以了。无需更多的设置。

下载

下载服务器/客户端OS备注
BROOK服务器和客户端Linux的AMD64CLI
brook_linux_386服务器和客户端Linux的386CLI
brook_linux_arm64服务器和客户端Linux的arm64CLI
brook_linux_arm5服务器和客户端Linux的arm5CLI
brook_linux_arm6服务器和客户端Linux的ARM6CLI
brook_linux_arm7服务器和客户端Linux的ARM7CLI
brook_linux_mips服务器和客户端Linux的MIPSCLI
brook_linux_mipsle服务器和客户端Linux的mipsleCLI
brook_linux_mips64服务器和客户端Linux的MIPS64CLI
brook_linux_mips64le服务器和客户端Linux的mips64leCLI
brook_linux_ppc64服务器和客户端Linux的PPC64CLI
brook_linux_ppc64le服务器和客户端Linux的ppc64leCLI
brook_macos_amd64服务器和客户端苹果系统AMD64CLI
brook_windows_amd64.exe服务器和客户端视窗AMD64CLI
brook_windows_386.exe服务器和客户端视窗386CLI
Brook.dmg客户苹果系统AMD64GUI
Brook.Setup.exe客户视窗AMD64GUI
应用商店客户iOS版GUI
Brook.apk(没有Google Play)客户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  

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 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"  

 

# 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