Files
jiedian/docs/STACK.md
T
dekun cd0639d55c 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>
2026-06-16 08:21:49 +08:00

21 lines
848 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 方案决策记录
## 已确认选型
| 项目 | 选择 | 理由 |
|------|------|------|
| 协议栈 | **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。