sing-box-manager/README.md

120 lines
4.4 KiB
Markdown
Raw Permalink Normal View History

2024-01-02 02:26:07 +08:00
<div align="center">
[![banner](https://raw.githubusercontent.com/TheyCallMeSecond/sing-box-manager/main/img/01.png?raw=true "banner")](https://raw.githubusercontent.com/TheyCallMeSecond/sing-box-manager/main/img/01.png?raw=true "banner")
</div>
2024-01-02 02:22:11 +08:00
# **Updated content**
2024-01-23 20:36:03 +08:00
- **V 1.3**
- **Support sing-box 1.8+ rule-set**
- **Support sing-box 1.8+ cache file**
<details>
<summary><b>Historical update content</b></summary>
2023-12-05 13:42:24 +08:00
- **V 1.2**
2024-01-02 02:22:11 +08:00
- **Client profile added Clash API support.**
- **Other optimizations and fixes.**
2023-11-14 14:25:32 +08:00
2024-01-23 20:36:03 +08:00
<br>
2023-11-14 14:25:32 +08:00
2023-12-05 13:42:24 +08:00
- **V 1.1**
2024-01-02 02:22:11 +08:00
- **Modify the DNS configuration section of the client configuration file.**
2023-12-05 13:42:24 +08:00
2023-12-05 13:54:05 +08:00
<br>
2023-11-17 13:05:22 +08:00
- **V 1.1-beta.3**
2024-01-02 02:22:11 +08:00
- **Add HTTPUpgrade transport layer.**
2023-11-17 13:05:22 +08:00
<br>
2023-11-14 08:37:43 +08:00
- **V 1.1-beta.2**
2024-01-02 02:22:11 +08:00
- **Fix the automatic update certificate issue.**
- **Fix Cron detection rules.**
2023-11-03 17:27:01 +08:00
2023-11-14 14:25:32 +08:00
<br>
2023-11-14 08:37:43 +08:00
- **V 1.1-beta.1**
2024-01-02 02:22:11 +08:00
- **Add Multiplex (multiplexing), TCP Brutal (congestion control algorithm), ECH (TLS extension) configuration; to enable Multiplex and TCP Brutal, please use the sing-box kernel above 1.7.0, please Install TCP Brutal on your own.**
- **Add support for Juicity node link generation.**
- **Add support for HTTP protocol.**
- **Other optimizations and fixes.**
2023-11-14 08:44:09 +08:00
2023-11-14 08:43:51 +08:00
<br>
2023-11-14 08:44:09 +08:00
2023-11-14 08:40:10 +08:00
- **V 1.0**
2024-01-02 02:22:11 +08:00
- **Add WireGuard unblock YouTube option.**
- **Add node management options to support deleting the configuration of any node, including server and client configuration files.**
- **Deleting node configuration only supports Version: 1.0 and later.**
- **Other optimizations and fixes.**
2023-11-14 08:21:46 +08:00
</details>
2024-01-02 02:22:11 +08:00
# **Notes**
- **The script uses sing-box and Juicity kernel.**
- **Script supports CentOS 8+, Debian 10+, Ubuntu 20+ operating systems.**
- **All protocols of the script support self-signed certificates (except NaiveProxy).**
- **Script supports multiple users.**
- **Script supports coexistence of all protocols.**
- **Script supports self-signed 100-year certificates.**
- **Script supports automatic renewal of certificates.**
- **The script supports HTTP, WebSocket, gRPC, HTTPUpgrade transport protocols.**
- **The script supports Multiplex, TCP Brutal, and ECH configuration; to enable Multiplex and TCP Brutal, the sing-box kernel needs to be ≥1.7.0, and please install TCP Brutal on the server.**
- **Since Clash does not support TCP Brutal and ECH configurations, the Clash configuration file will not be automatically generated if these configurations are enabled.**
2023-11-03 17:36:58 +08:00
2024-01-02 02:22:11 +08:00
# **Install**
- **Debian&&Ubuntu use the following command to install dependencies**
2023-11-03 17:27:53 +08:00
```
apt update && apt -y install curl wget tar socat jq git openssl uuid-runtime build-essential zlib1g-dev libssl-dev libevent-dev dnsutils cron
```
2024-01-02 02:22:11 +08:00
- **CentOS uses the following command to install dependencies**
2023-11-03 17:27:53 +08:00
```
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
```
2024-01-02 02:22:11 +08:00
- **Run the script using the following command**
2023-11-03 17:27:53 +08:00
```
2024-01-02 02:22:11 +08:00
wget -N -O /root/singbox.sh https://raw.githubusercontent.com/TheyCallMeSecond/sing-box-manager/main/Install.sh && chmod +x /root/singbox.sh && ln -sf /root/singbox.sh /usr/local/bin/singbox && bash /root/singbox.sh
2023-11-03 17:27:53 +08:00
```
2024-01-02 02:22:11 +08:00
# **Instructions**
- **The Clash client configuration file is located in /usr/local/etc/sing-box/clash.yaml. After downloading, it can be used by loading it into the Clash client. It needs to cooperate with the Meta kernel.**
- **sing-box computer configuration file is located in /usr/local/etc/sing-box/win_client.json. After downloading, it can be loaded into V2rayN and SFM clients for use.**
- **sing-box mobile phone configuration file is located in /usr/local/etc/sing-box/phone_client.json. After downloading, it can be loaded into SFA and SFI clients for use.**
2023-09-04 16:29:11 +08:00
2024-01-02 02:22:11 +08:00
# **Node types supported by script**
2023-10-23 16:24:24 +08:00
- **SOCKS**
2023-11-12 17:56:47 +08:00
- **HTTP**
2023-07-29 17:19:25 +08:00
- **TUIC V5**
2023-10-23 16:25:09 +08:00
- **Juicity**
2024-01-02 03:55:52 +08:00
- **WireGuard--Unlock ChatGPT, Netflix, Disney+, Google, Spotify**
2023-09-04 11:24:51 +08:00
- **Hysteria2**
2023-10-23 16:24:24 +08:00
- **VLESS+TCP**
- **VLESS+WebSocket**
- **VLESS+gRPC**
2023-11-14 14:28:24 +08:00
- **VLESS+HTTPUpgrade**
2023-10-23 16:24:24 +08:00
- **VLESS+Vision+REALITY**
- **VLESS+H2C+REALITY**
- **VLESS+gRPC+REALITY**
2024-01-02 02:22:11 +08:00
- **Direct--sing-box**
2023-10-23 16:24:24 +08:00
- **Trojan+TCP**
- **Trojan+WebSocket**
2023-10-12 13:38:55 +08:00
- **Trojan+gRPC**
2023-11-14 14:28:24 +08:00
- **Trojan+HTTPUpgrade**
2023-10-23 16:24:24 +08:00
- **Trojan+TCP+TLS**
- **Trojan+H2C+TLS**
- **Trojan+gRPC+TLS**
- **Trojan+WebSocket+TLS**
2023-11-14 14:28:24 +08:00
- **Trojan+HTTPUpgrade+TLS**
2023-07-29 17:19:25 +08:00
- **Hysteria**
- **ShadowTLS V3**
- **NaiveProxy**
- **Shadowsocks**
2023-10-23 16:24:24 +08:00
- **VMess+TCP**
- **VMess+WebSocket**
2023-11-14 14:28:24 +08:00
- **VMess+gRPC**
- **VMess+HTTPUpgrade**
2023-10-23 16:24:24 +08:00
- **VMess+TCP+TLS**
- **VMess+WebSocket+TLS**
- **VMess+H2C+TLS**
- **VMess+gRPC+TLS**
2024-01-02 02:22:11 +08:00
- **VMess+HTTPUpgrade+TLS**