talira

Xray-core

Xray, Penetrates Everything: an open platform for proxying and traffic routing

open sourceMPL-2.0self-hostablefree

Xray-core is an open source proxy platform, built to resist traffic detection and blocking, that runs as a single executable on a server and on clients. It speaks inbound and outbound protocols including VLESS, VMess, Trojan, Shadowsocks, SOCKS, HTTP, WireGuard and Hysteria, and adds Project X's own protocols and transports (XTLS flow control, XUDP, XHTTP and REALITY) that disguise proxy traffic as ordinary TLS to resist detection. A routing and DNS system sends traffic by domain, IP, port, protocol, process or user, and the pieces combine freely. It started as a branch of v2ray-core but has evolved separately, is light enough for OpenWrt routers and Raspberry Pis, and is managed by many panels and clients; it's MPL-2.0, with an official install script, Docker image and Homebrew formula.

Ways to install

Package managers

Problems it solves

  • run my own proxy server that gets past the Great Firewall
  • proxy traffic that looks like normal TLS to a real website so it isn't blocked
  • set up a VLESS with REALITY server on my VPS
  • route only some domains through my proxy and the rest directly
  • replace v2ray-core with something actively maintained
  • self-hosted censorship-resistant tunnel for family members in a restrictive country
  • lightweight proxy core that runs on an OpenWrt router

Features

  • VLESS, VMess, Trojan, Shadowsocks, SOCKS, HTTP, WireGuard and Hysteria protocols
  • XTLS flow control, XUDP, XHTTP and REALITY
  • traffic camouflage with VLESS fallback and REALITY
  • routing and DNS by domain, IP, port, protocol, process and user
  • freely combined protocols, transports and routing
  • Splice for low forwarding overhead on routers and Raspberry Pi
  • single executable with built-in ctl functions
  • builds for Linux, Windows, macOS, FreeBSD, OpenBSD and Android on many CPU architectures
  • official Linux install script and Docker image

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Xray-core does.

  1. sing-box Universal proxy platform for building proxy clients and servers
  2. Hysteria Fast, censorship-resistant proxy built on a customized QUIC protocol
  3. 3X-UI Advanced web panel for managing Xray-core servers

Compare Xray-core with the top 3