Files
nexus/wiki/entities/VPS1.md

44 lines
1.2 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.
---
title: "VPS1"
type: entity
tags: [vps, infrastructure, racknerd, frp, caddy]
---
## 基本信息
- **类型**:公网 VPS
- **服务商**RackNerd
- **公网 IP**192.227.222.142
- **SSH 别名**`ssh vps1`
- **公共域名**vps.ishenwei.online
## 安装的应用
| 应用 | 类型 | 端口 | 作用 |
|------|------|------|------|
| Caddy | No原生 | 443/80 | 现代化 Web 服务器,自动 HTTPS 证书申请,作为反向代理入口 |
| FRP Serverfrps | No原生 | 7000 | 内网穿透服务端,接收 frpc 客户端的代理请求 |
## 在基础设施中的角色
VPS1 是整个混合网络的公网入口节点:
- 所有内网服务NAS、MacMini、Ubuntu1/2通过 FRP 隧道将服务暴露到公网
- FRP server 监听 7000 端口,接收所有 frpc 客户端的心跳和代理请求
- Caddy 统一处理 HTTPS所有 *.ishenwei.online 域名解析到 VPS1由 Caddy 路由到对应内网服务
## FRPS 配置关键参数
- **端口 7000**frpc 客户端连接端口
- **bind_port**7000
- 通过 frpc.toml 配置各类代理规则tcp/http
## 连接方式
```bash
# SSH 登录
ssh vps1
# 或使用 IP
ssh root@192.227.222.142
```
## Aliases
- RackNerd VPS
- 公网入口节点