githubEdit

V2Ray

Multi-protocol proxy tool with flexible routing and traffic obfuscation

V2Ray is a network proxy tool that supports multiple protocols including VMess, VLESS, Shadowsocks, Trojan, and more. It provides flexible routing rules, traffic obfuscation, and transport layer security for building private network tunnels.

Install

# windows
wget https://github.com/v2fly/v2ray-core/releases/download/v5.29.3/v2ray-windows-64.zip

# macos
brew install v2ray

Start

# Binary
v2ray test -c config.json
v2ray run -c config.json

# docker
docker run \
    --name v2ray \
    -v /etc/v2ray/config.json:/etc/v2ray/config.json \
    -p 12306:12306 \
    -d --privileged \
    v2fly/v2fly-core run -c /etc/v2ray/config.json [-format jsonv5]

Configuration

Server (VMess + TCP)

Client (VMess + TCP with Routing)

Server (VMess + WebSocket + TLS)

Client (VMess + WebSocket + TLS)

Reference:

Last updated