Skip to content

Alvin9999-newpac/Xray-Plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Xray-Plus

Xray 一键安装脚本,自动搭建 8 种协议节点,支持 Reality、XHTTP 传输、后量子加密(ENC)、XHTTP/3 + force-brutal 拥塞控制。


特性

  • 一键安装,全程无需手动填写配置
  • 自动生成 8 个节点,每个节点独立 UUID 和随机端口
  • Reality 伪装域名从微软、必应、雅虎等大网站随机选取
  • 支持后量子加密算法(mlkem768x25519plus)
  • 自动生成 Reality 密钥对和 VLESS ENC 密钥对
  • 节点 7、8 支持 XHTTP + REALITY + force-brutal 拥塞控制(需 Xray-core v26.3.27+)
  • 安装完成后直接输出所有节点分享链接及完整客户端 config.json
  • 客户端配置包含详细 DNS 分流、socks 1080 / http 1081 双入站
  • 自动配置防火墙(支持 ufw / iptables)
  • 支持 BBR 加速一键开启
  • VPS 重启后服务自动恢复(systemd 托管)
  • 支持 Debian / Ubuntu / CentOS / Rocky Linux

一键脚本

wget -O Xray-Plus.sh https://raw.githubusercontent.com/Alvin9999-newpac/Xray-Plus/main/Xray-Plus.sh && chmod +x Xray-Plus.sh && bash Xray-Plus.sh

curl -fsSL -o Xray-Plus.sh https://raw.githubusercontent.com/Alvin9999-newpac/Xray-Plus/main/Xray-Plus.sh && chmod +x Xray-Plus.sh && bash Xray-Plus.sh

菜单说明

 ================================================
   Xray-Plus 管理脚本 v1.6.0
   https://github.com/Alvin9999-newpac/Xray-Plus
 ================================================
 BBR 加速:  已启用
 服务状态:  运行中
 当前版本:  v26.3.27
 ------------------------------------------------
 1. 安装 / 重装
 2. 查看节点 & 分享链接
 3. 重启服务
 4. 一键开启 BBR
 5. 查看实时日志
 6. 卸载
 0. 退出
 ================================================
选项 说明
1 自动下载最新版 Xray,生成 8 个节点并启动服务
2 查看所有节点分享链接及客户端 config.json
3 重启 Xray 服务
4 一键开启 BBR 网络加速(需内核 4.9+)
5 实时查看 Xray 运行日志(Ctrl+C 退出)
6 卸载 Xray 及所有配置文件

节点说明

安装完成后自动生成 8 个节点:

# 节点 传输 安全 特性
1 VLESS-xhttp-Reality-Vision-enc xhttp Reality 后量子加密 ENC
2 VLESS-xhttp-Reality-Vision xhttp Reality 标准 xhttp
3 VLESS-tcp-Reality-Vision TCP Reality 兼容性最好
4 VLESS-xhttp-Vision-enc xhttp 无 TLS 后量子加密 ENC,建议套反代
5 VLESS-ws-Vision-enc WebSocket 无 TLS 后量子加密 ENC,建议套反代
6 VMess-ws WebSocket 无 TLS VMess 传统加密,兼容老客户端
7 VLESS-xhttp-Reality-Vision-brutal xhttp Reality force-brutal 拥塞控制
8 VLESS-xhttp-Reality-Vision-brutal-enc xhttp Reality force-brutal + 后量子加密 ENC

节点 7、8 说明: 使用 finalmask.quicParams 启用 force-brutal 拥塞控制,可在带宽受限或被限速的网络环境下暴力占满可用带宽。需要客户端 Xray-core v26.3.27 或以上版本才能识别 finalmask 字段。


安装效果示例

 ========== 节点分享链接 ==========

 [1] VLESS-xhttp-Reality-Vision-enc
 vless://uuid@ip:port?security=reality&flow=xtls-rprx-vision&...&encryption=mlkem768x25519plus...

 [2] VLESS-xhttp-Reality-Vision
 vless://uuid@ip:port?encryption=none&security=reality&...&type=xhttp&...

 [3] VLESS-tcp-Reality-Vision
 vless://uuid@ip:port?security=reality&flow=xtls-rprx-vision&...&type=tcp

 [4] VLESS-xhttp-Vision-enc
 vless://uuid@ip:port?security=none&flow=xtls-rprx-vision&type=xhttp&...&encryption=mlkem768x25519plus...

 [5] VLESS-ws-Vision-enc
 vless://uuid@ip:port?security=none&flow=xtls-rprx-vision&type=ws&...&encryption=mlkem768x25519plus...

 [6] VMess-ws
 vmess://eyJ2IjoiMiIsInBzIjoiVk1lc3Mtd3MiLCJhZGQi...

 [7] VLESS-xhttp-Reality-Vision-force-brutal
 vless://uuid@ip:port?security=reality&flow=xtls-rprx-vision&...&type=xhttp&...

 [8] VLESS-xhttp-Reality-Vision-force-brutal-enc
 vless://uuid@ip:port?security=reality&flow=xtls-rprx-vision&...&type=xhttp&...&encryption=mlkem768x25519plus...

 ==================================

 ========== 客户端 config.json ==========
 (socks 1080 / http 1081,私有IP直连,其余走代理)

 ---- [1] VLESS-xhttp-Reality-Vision-enc ----
 { ... }

 ---- [2] ... ----
 ...

客户端使用

推荐客户端

桌面端(Windows / macOS / Linux)

Android

iOS

提示:

  • 节点 1~3、7、8 使用 REALITY,安全性最高,推荐优先使用。
  • 节点 4、5 无 TLS,建议仅在套 CDN / 反向代理时使用,裸用有流量识别风险。
  • 节点 7、8 的 force-brutal 需客户端直接加载 config.json(Xray-core v26.3.27+),GUI 客户端不一定已适配 finalmask 字段。
  • 如遇不兼容,优先使用节点 3(TCP + Reality),兼容性最广。

系统要求

项目 要求
操作系统 Debian 10+ / Ubuntu 20.04+ / CentOS 7+ / Rocky Linux 8+
架构 x86_64 / aarch64
内存 128MB 以上
权限 root

常用命令

# 查看服务状态
systemctl status xray-plus

# 查看日志
journalctl -u xray-plus -f

# 手动启动 / 停止 / 重启
systemctl start xray-plus
systemctl stop xray-plus
systemctl restart xray-plus

# 查看服务端配置文件
cat /etc/xray-plus/config.json

相关项目


License

MIT

About

Xray 一键安装脚本,自动生成8个节点(VLESS-xhttp-Reality-enc、VLESS-xhttp-Reality、VLESS-tcp-Reality、VLESS-xhttp-enc、VLESS-ws-enc、VMess-ws、VLESS-xhttp-Reality-brutal、VLESS-xhttp-Reality-brutal-enc),支持后量子加密与 force-brutal 拥塞控制

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages