Giter Site home page Giter Site logo

sing-box's Introduction

更新内容

  • V 1.1
  • 修改客户端配置文件DNS配置部分。
历史更新内容
  • V 1.1-beta.3
  • 添加 HTTPUpgrade 传输层。

  • V 1.1-beta.2
  • 修复自动更新证书问题。
  • 修复Cron检测规则。

  • V 1.1-beta.1
  • 添加 Multiplex (多路复用)、TCP Brutal (拥塞控制算法)、ECH (TLS 扩展)配置;若要启用 Multiplex、TCP Brutal,请使用1.7.0以上的 sing-box 内核,请在服务端自行安装 TCP Brutal。
  • 添加对 Juicity 节点链接生成的支持。
  • 添加对 HTTP 协议的支持。
  • 其它优化与修复。

  • V 1.0
  • 添加 WireGuard 解锁 YouTube 选项。
  • 添加节点管理选项,支持删除任意节点的配置,包括服务端与客户端配置文件。
  • 删除节点配置仅支持Version:1.0及之后的版本。
  • 其它优化与修复。

说明

  • 脚本使用sing-box、Juicity内核。
  • 脚本支持 CentOS 8+、Debian 10+、Ubuntu 20+ 操作系统。
  • 脚本所有协议均支持自签证书(NaiveProxy除外)。
  • 脚本支持多用户。
  • 脚本支持所有协议共存。
  • 脚本支持自签100年证书。
  • 脚本支持自动续签证书。
  • 脚本支持HTTP、WebSocket、gRPC、HTTPUpgrade传输协议。
  • 脚本支持 Multiplex、TCP Brutal、ECH 配置;若要启用 Multiplex、TCP Brutal,sing-box 内核需 ≥1.7.0,请在服务端自行安装 TCP Brutal。

安装

  • Debian&&Ubuntu使用以下命令安装依赖
apt update && apt -y install curl wget tar socat jq git openssl uuid-runtime build-essential zlib1g-dev libssl-dev libevent-dev dnsutils cron
  • CentOS使用以下命令安装依赖
yum update && yum -y install curl wget tar socat jq git openssl util-linux gcc-c++ zlib-devel openssl-devel libevent-devel bind-utils cronie
  • 使用以下命令运行脚本
wget -N -O /root/singbox.sh https://raw.githubusercontent.com/TinrLin/sing-box/main/Install.sh && chmod +x /root/singbox.sh && ln -sf /root/singbox.sh /usr/local/bin/singbox && bash /root/singbox.sh

使用方法

  • Clash客户端配置文件位于/usr/local/etc/sing-box/clash.yaml,下载后加载到 Clash 客户端即可使用,需要配合 Meta 内核。
  • sing-box电脑端配置文件位于/usr/local/etc/sing-box/win_client.json,下载后加载到 V2rayN、SFM 客户端即可使用。
  • sing-box手机端配置文件位于/usr/local/etc/sing-box/phone_client.json,下载后加载到 SFA、SFI 客户端即可使用。

脚本支持的节点类型

  • SOCKS
  • HTTP
  • TUIC V5
  • Juicity
  • WireGuard--解锁 ChatGPT、Netflix、Disney+
  • Hysteria2
  • VLESS+TCP
  • VLESS+WebSocket
  • VLESS+gRPC
  • VLESS+HTTPUpgrade
  • VLESS+Vision+REALITY
  • VLESS+H2C+REALITY
  • VLESS+gRPC+REALITY
  • Direct--sing-box版任意门
  • Trojan+TCP
  • Trojan+WebSocket
  • Trojan+gRPC
  • Trojan+HTTPUpgrade
  • Trojan+TCP+TLS
  • Trojan+H2C+TLS
  • Trojan+gRPC+TLS
  • Trojan+WebSocket+TLS
  • Trojan+HTTPUpgrade+TLS
  • Hysteria
  • ShadowTLS V3
  • NaiveProxy
  • Shadowsocks
  • VMess+TCP
  • VMess+WebSocket
  • VMess+gRPC
  • VMess+HTTPUpgrade
  • VMess+TCP+TLS
  • VMess+WebSocket+TLS
  • VMess+H2C+TLS
  • VMess+gRPC+TLS
  • VMess+HTTPUpgrade+TLS

sing-box's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.