Xray/sing-box 一键脚本,快速搭建教程 (无敌的存在)

Xray/sing-box 一键安装脚本,支持Reality快速搭建安装,支持分流、多用户管理等多种功能

快速搭建Vision和Reality防止VPS端口封禁

一、快速开始

1.下载脚本

1.Github

wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh

ShellCopy

2.官方网站【备用】

wget -P /root -N --no-check-certificate "https://www.v2ray-agent.com/v2ray-agent/install.sh" && chmod 700 /root/install.sh && /root/install.sh

ShellCopy

2.一图教程

3.使用

1.账号使用

vasma->7.账号管理->1.查看账号

2.订阅使用

  • 客户端使用教程
  • 一般客户端都可以拉取 默认订阅 进行一键使用。vasma->7.账号管理->2.查看订阅

二、进阶使用

1.个性化安装

安装推荐协议

2.单独安装Reality
无需域名

3.安装Tuic、Hysteria2

采用sing-box作为内核,实现安装Tuic和Hysteria2。避免多个内核占用内存。

一、Hysteria2介绍
通过魔改的 QUIC 协议驱动,Hysteria 即使在最不稳定和容易丢包的网络环境中也能提供无与伦比的性能。拥有优秀的抗封锁能力,协议旨在伪装成标准的 HTTP/3 流量,无论中间人还是主动探测,都很难分辨和封锁。对于线路比较差的vps,会有比较大的提升(UDP被QoS的除外)
Hysteria 2 继承了 Hysteria 1.x 的几乎所有功能,同时引入了各种新的修复和增强。但值得注意的是,由于协议和代码经过了重大更改,Hysteria 2 与 Hysteria 1.x 完全不兼容。 用户必须在客户端和服务器上使用一致的版本。
主要改进
新协议:重新设计的协议,伪装成 HTTP/3,增加对抗审查的能力。
0-RTT UDP 会话建立:每个新 UDP 会话的第一个包没有额外延迟。
新的 ACL 和出站系统:根据不同的请求使用不同的出口。
流量统计 API:便于监控和管理。
性能改进:各种底层优化,提高了性能和稳定性。

二、搭建

1.下载脚本

wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh

BashCopy

2.安装

  • 由于hysteria2依赖于证书,需要搭建VLESS_TLS_vision(最低)来申请证书和使用订阅。
  • 需要提供一个域名

1.安装 VLESS+TLS_Vision+TCP

# 全部安装
vasma->1.安装->1.Xray-core->输入域名后一路回车即可

# 任意组合安装,如果只想体验hysteria2可以直接选择0。如果想使用Reality,建议选择7。
vasma->2.任意组合安装->1.Xray-core->7.VLESS+Reality+uTLS+Vision[推荐] 输入域名后一路回车即可

2.安装hysteria2

  • hysteria2 这里使用的是sing-box实现
vasma->4.Hysteria2管理->1.安装->输入端口或者随机端口 一路回车即可

目前Tuic作者已经停止维护,脚本使用sing-box实现,目前不影响使用

一、介绍

Tuic最近发布了V5,性能提升较大,经过了解和使用这篇文章应运而生。

QUIC 协议汲取了大量人们给 TCP 糊墙的经验教训,把连接结构优化到(目前来看)极致。但是现在市面上的代理工具还没有能完全利用 QUIC 特性的存在-官方介绍

如果本地使用hysteria经常发生QoS,可以尝试一下此工具。相对于hysteria更加温和,在不影响良好使用情况下尽量发挥最大的性能。据群友测试,可以提升数倍,QoS概率较低,如果是线路以及性能优良的VPS则提升不明显,但是使用效果很流畅,如果有 RackNerd 的可以尝试一下使用一下。

二、特性

  • 1-RTT TCP 中继
  • 0-RTT UDP 中继,且 NAT 类型为 FullCone
  • 在用户空间的拥塞控制,也就是说可以在任何系统平台实现双向的 BBR
  • 两种 UDP 中继模式: native (原生 UDP 特性,数据仍被 TLS 加密)和 quic (100% 送达率,每个包单独单独作为一个 QUIC “流”,一个包的确认重传不会阻塞其它包)
  • 完全多路复用,服务器和客户端之间始终只需要一条 QUIC 连接,所有任务作为这个连接中的 “流” 进行传输(一个流的暂时阻塞不会影响其它流),所以除连接第一个中继任务外的其它任务都不需要经过 QUIC 握手和 TUIC 的鉴权
  • 网络切换时的会话平滑转移,例如在从 Wi-Fi 切换到移动数据时连接不会像 TCP 一样直接断开
  • 0-RTT 、与中继任务并行的鉴权
  • 支持 QUIC 的 0-RTT 握手(开启之后能达到 真・ 1 -RTT TCP 和 0-RTT UDP ,但是就算不开启,多路复用的特性也能保证在绝大多数情况下 1-RTT 和 0-RTT )

三、搭建

1.下载脚本

wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh

BashCopy

2.安装或者个性化安装

  • 只需要保证安装VLESS_TLS_Vision即可(需要依赖这个)
vasma->1/2

RustCopy

3.安装Tuic

  • 依赖第三方sing-box内核
vasma->6.Tuic管理

所有评论(6)

  1. burrnell3说道:

    This message is used to verify that this feed (feedId:71871845704711168) belongs to me (userId:71871755100595200). Join me in enjoying the next generation information browser https://follow.is.

  2. Very nice post. I just stumbled upon your weblog and wished to say that I have really enjoyed surfing around your
    blog posts. In any case I will be subscribing to your feed and I hope you write again very soon!

    my blog – nordvpn coupons Inspiresensation

  3. t.co说道:

    I’d like to thank you for the efforts you’ve put in writing this blog.
    I’m hoping to check out the same high-grade blog posts
    by you later on as well. In truth, your creative writing abilities
    has encouraged me to get my very own site now 😉

    My page :: nordvpn coupons inspiresensation (t.co)

  4. shorter.me说道:

    It’s in point of fact a nice and helpful piece of information. I’m happy that you simply
    shared this useful information with us. Please keep us
    informed like this. Thanks for sharing.

    Feel free to surf to my web blog :: nordvpn coupons inspiresensation –
    shorter.me,

  5. I’m extremely impressed with your writing skills and also with the
    layout on your blog. Is this a paid theme or did you modify it yourself?
    Either way keep up the nice quality writing, it’s rare to see a nice blog like this one today.

    Also visit my homepage :: nordvpn coupons inspiresensation; https://t.co/eVysfVwFqe,

  6. nordvpn special coupon code 2025 350fairfax
    You are so interesting! I don’t believe I
    have read a single thing like that before. So great to discover someone with some unique thoughts on this issue.
    Seriously.. thanks for starting this up. This web site is one thing that’s needed on the internet, someone with a little originality!

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注