Xray-core

XTLSMPL-2.0活跃维护

基于 Go 的代理与网络穿透平台,兼容 v2ray-core,支持 Reality、XTLS、Trojan、Shadowsocks 等协议,用于搭建抗审查的科学上网通道。

Xray, Penetrates Everything. Also the best v2ray-core. Where the magic happens. An open platform for various uses.

v26.11.9发布于 2026-11-09 05:31 UTC42,766star +87 / 7 天6,131fork同步于 2026-11-10 05:19 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v26.11.9
  1. v26.11.9Xray-core v26.11.9最新正式版2026-11-09 · 2026-11-09 05:31 UTC

    XDRIVE transport: Release notes & more optimizations for the Google Drive backend

    Chrome 155+ fingerprint by default, untargeted by TSPU yet

    Sponsors

    Remnawave

    Happ

    BlancVPN

    Sponsor Xray-core

    Donation & NFTs

    Collect a Project X NFT to support the development of Project X!

  2. v26.10.31Xray-core v26.10.312026-10-31 · 2026-10-31 13:37 UTC
    查看更新说明

    紧急安全更新:由于 Linux 内核刚被爆出监听 IPv4 MPTCP 极易被远程拿 root,且 Go 1.24+ 默认开了 MPTCP,本版本默认关闭了 MPTCP 以显著减小攻击面(v26.10.29 让位,已被撤版),用户应尽快升级到该版本(该漏洞不止影响 Linux 服务端,安卓客户端的 Socks/HTTP 入站若开启了“允许来自局域网的连接”则也有点危险),并尽快更新 Linux 内核以从根源上修复漏洞

    2026.11.04 补充对于 IPv4 Options 和真实网络链路的说明:https://github.com/XTLS/Xray-core/pull/7326#issuecomment-6620107556

    Sponsors

    Remnawave

    Happ

    BlancVPN

    Sponsor Xray-core

    Donation & NFTs

    Collect a Project X NFT to support the development of Project X!

  3. v26.10.21Xray-core v26.10.212026-10-21 · 2026-10-21 12:07 UTC
    查看更新说明

    紧急安全更新:由于前几天印度八张中间证书的私钥因过于简单而被破解,本版本内置的 RootCAs 依赖库移除了三张根证书(v26.10.10、v26.10.17 内置有这些证书,已被撤版),并使用 Go 1.27.3 编译以确保即使操作系统 CA 库未更新也会过滤掉问题证书,用户应尽快升级到该版本,月底发 stable release(操作系统的 CA 库可能更新较慢,所以要覆盖掉上一个 latest)

    https://t.me/projectXtls/3592 10.22 直接先把该版本设为了 latest,似乎也不是不行,完整的 release notes 等月底或下个月初的版本吧,半年积攒的更新写起来有点酸爽,其实我几乎不用 AI,或许让 AI 来补,顺便 v26.9.8 多余了也被删了

    Sponsors

    Remnawave

    Happ

    BlancVPN

    Sponsor Xray-core

    Donation & NFTs

    Collect a Project X NFT to support the development of Project X!

  4. v26.9.30Xray-core v26.9.30pre-release2026-09-30 · 2026-09-30 07:41 UTC
    查看更新说明
  5. v26.9.9Xray-core v26.9.9pre-release2026-09-08 · 2026-09-08 22:28 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Project X

    Project X originates from XTLS protocol, providing a set of network tools such as Xray-core and REALITY.

    README is open, so feel free to submit your project here.

    Sponsors

    Remnawave

    Happ

    BlancVPN

    Sponsor Xray-core

    Donation & NFTs

    Collect a Project X NFT to support the development of Project X!

    License

    Mozilla Public License Version 2.0

    Documentation

    Project X Official Website

    Telegram

    Project X

    Project X Channel

    Project VLESS (Русский)

    Project XHTTP (Persian)

    Installation

    Usage

    GUI Clients

    Others that support VLESS, XTLS, REALITY, XUDP, PLUX...

    Contributing

    Code of Conduct

    Ask DeepWiki

    Credits

    Bundled Third-Party Components Redistribution

    Certain optional features dynamically load third-party components. These optional components are separate works distributed under their own licenses, and are bundled into the ZIP package for ease of use. Users may replace these components under the licenses from these components.

    These components include:

    Wintun

    This distribution contains unmodified official precompiled and pre-signed Wintun binaries.

    • Project: Wintun
    • Copyright: Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
    • Redistribution License: Prebuilt Binaries License (PBL) bundled with official precompiled and pre-signed binaries from wintun.net
    • Component(s): wintun.dll
    • Source: https://www.wintun.net/
    • Included in:
      • Windows x86 (windows-32, win7-32)
      • Windows x86-64 (windows-64, win7-64)
      • Windows AArch64 (windows-arm64)
    • Notes: Wintun is an optional runtime-loaded component only used for TUN inbound functionality on supported Windows platforms.

    One-line Compilation

    Windows (PowerShell)

    $env:CGO_ENABLED=0
    go build -o xray.exe -trimpath -buildvcs=false -ldflags="-s -w -buildid=" -v ./main
    

    Linux / macOS

    CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -ldflags="-s -w -buildid=" -v ./main
    

    Reproducible Releases

    Make sure that you are using the same Go version, and remember to set the git commit id (7 bytes):

    CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main
    

    For Android:

    GOOS=android GOARCH=arm64 CGO_ENABLED=1 CC=/path/to/aarch64-linux-android24-clang go build -o xray -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid= -checklinkname=0 -extldflags=-Wl,--pack-dyn-relocs=android" -v ./main
    GOOS=android GOARCH=amd64 CGO_ENABLED=1 CC=/path/to/x86_64-linux-android24-clang go build -o xray -trimpath -buildvcs=false -gcflags="all=-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid= -checklinkname=0 -extldflags=-Wl,--pack-dyn-relocs=android" -v ./main
    

    If you are compiling a 32-bit MIPS/MIPSLE target, use this command instead:

    CGO_ENABLED=0 go build -o xray -trimpath -buildvcs=false -gcflags="-l=4" -ldflags="-X github.com/xtls/xray-core/core.build=REPLACE -s -w -buildid=" -v ./main
    

    Stargazers over time

    Stargazers over time