v2ray-agent is a Bash menu script that installs and manages Xray-core or sing-box on Linux servers, including a Docker path for VLESS-Reality without a domain.
Overview
v2ray-agent automates setup and day-to-day management of proxy cores on ordinary VPS hosts. It can install Xray-core and sing-box alone or together and exposes an interactive menu for users, ports, configs, core versions, logs, certificates, and client connection details.
Supported inbound protocols include VLESS with TLS, Reality, or XHTTP, plus VMess, Trojan, Hysteria2, Tuic, NaiveProxy, AnyTLS, and standalone SOCKS5. TLS certificates can be issued and renewed through acme.sh, and Reality setups can work without a domain.
The script can build subscription links, manage remote subscription settings, and configure routing extras such as WARP or WireGuard, IPv6 handling, SOCKS5 or DNS paths, VMess over WebSocket, and SNI reverse proxy options aimed at streaming use cases. Network policy options cover Hysteria2 port hopping, domain block lists, and BitTorrent or P2P throttling.
A separate Docker Reality workflow targets VLESS-Reality with Vision, XHTTP, or both, via interactive prompts or command parameters. Script installs expect Linux with root on common distributions and amd64 or arm64 hardware; Docker mode needs a working Docker engine.
Key features
- Xray-core and sing-box installation
- Multi-protocol inbound support
- acme.sh TLS and Reality without domain
- Menu-driven user and port management
- Subscription link generation
- WARP and WireGuard routing options
- Docker VLESS-Reality deployment
- Client config output
Use cases
- Standing up a personal proxy on a VPS
- Running VLESS-Reality without a domain
- Managing multiple users and inbound ports
- Routing traffic through WARP or SOCKS5
- Publishing subscription URLs to clients