Files
nas/README.md
T
wangjia fe6589cc03 fix(proxy): mihomo 上游 ec2-sg → pangolin1-us(ec2 2026-07-04 退役漏改依赖,NAS 断外网复盘修复)
根因:ec2 退役释放 EIP 18.136.60.128,但 NAS mihomo 唯一上游仍指向它,
所有走代理的境外流量拨号超时。切换到 pangolin1(103.119.13.48)的
sing-box VLESS Reality :443(flow xtls-rprx-vision,SNI www.apple.com),
route-exclude 同步更新。NAS 实机已于 2026-07-05 切换并验证恢复。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 23:20:25 +08:00

49 lines
1.1 KiB
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.
# NAS 运维配置
Synology DS925+192.168.3.200)的 Docker 服务配置管理。
## 服务
| 服务 | 说明 | 地址 |
|------|------|------|
| Forgejo | 自托管 Git 服务 + CI/CD runner | http://git.51yanmei.com |
| mihomo | 透明代理网关(VLESS + Reality,上游 pangolin1 103.119.13.48 | 局域网网关 192.168.3.200 |
| dnsmasq | DHCP/DNS(预备,暂未启用) | — |
## 目录
```
docker/
├── forgejo/ # Forgejo + act-runner
└── proxy/ # mihomo 透明代理 + dnsmasq
```
## 部署
### 前置条件
```bash
cp docker/forgejo/.env.example docker/forgejo/.env
# 填入 GITEA_RUNNER_REGISTRATION_TOKEN
cp docker/proxy/mihomo/.env.example docker/proxy/mihomo/.env
# 填入 VLESS_UUID(然后手动更新 config.yaml 中的 <VLESS_UUID>
# 2026-07-05 起 UUID = pangolin1 sing-box 443 入站的第一个用户(查看:ssh pangolin1 查 /etc/sing-box/config.json
```
### 启动服务
```bash
# Forgejo
cd docker/forgejo && docker compose up -d
# 透明代理
cd docker/proxy && docker compose up -d
```
## 连接
```bash
ssh nas # HostName 192.168.3.200,需配置 ~/.ssh/config
```