Initial commit: sing-box Reality + Hysteria2 deploy for 66.hyf2.cc

Ubuntu deployment at /opt/jiedian with pre-filled env for 47.76.87.111.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-16 08:21:49 +08:00
commit cd0639d55c
16 changed files with 1080 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# 方案决策记录
## 已确认选型
| 项目 | 选择 | 理由 |
|------|------|------|
| 协议栈 | **VLESS + Reality + Hysteria2 双栈** | Reality 抗主动探测;Hysteria2 作 UDP 备用与流媒体 |
| 服务端 | **sing-box** | 单进程同时跑 Reality 与 Hysteria2,配置统一 |
| 系统 | **Ubuntu 22.04/24.04 或 Debian 12** | 脚本基于 apt,其他发行版需手动适配 |
| 面板 | **无** | 个人 15 人,手改 `.env` + 模板即可 |
## 端口规划
- `443/TCP` — VLESS + Reality(主力)
- `8443/UDP` — Hysteria2(备用)
- `127.0.0.1:8080` — Nginx 伪装静态页(Reality fallback 场景)
## 单协议简化
若只想维护一种协议,删除 `server/sing-box.json.template` 中的 `hysteria2-in` inbound,并跳过证书申请步骤即可,仅保留 Reality。