Installed Components
安装脚本将安装并配置以下主要组件:
- Go(1.25.1)→ 用于编译后端二进制文件。
- Node.js(通过 NVM,版本 22)→ 用于构建前端 Web 应用。
- NPM → 前端依赖的包管理器。
- WireGuard → 底层 VPN 技术。
Web Interface
- 打开浏览器,访问:
http://<server-ip>/ - 完成初始配置。
- Login with:
admin/<the password you set during setup>
重要文件与目录
/vpn/rest-server→ REST API 服务器二进制文件/vpn/configmanager→ 配置管理器二进制文件/vpn/reset-admin-password→ 重置管理员密码工具/vpn/config→ Configuration files/vpn/secrets→ Sensitive keys/vpn/stats→ Server stats/vpn/tls-certs→ TLS certificates/vpn/setup-code.txt→ 安装代码信息/vpn/rest-server.pid→ REST 服务器 PID
Verify Status
systemctl status vpn-rest-server
systemctl status vpn-configmanager