138 lines
4.1 KiB
Markdown
138 lines
4.1 KiB
Markdown
---
|
|
title: 3X-UI Xray on BandwagonVPS
|
|
source:
|
|
author: shenwei
|
|
published:
|
|
created:
|
|
description:
|
|
tags: []
|
|
---
|
|
|
|
# 3X-UI Xray on BandwagonVPS
|
|
|
|
```table-of-contents
|
|
```
|
|
|
|
---
|
|
|
|
## 1. 服务器信息
|
|
|
|
| 项目 | 值 |
|
|
|------|-----|
|
|
| 服务器 | VPS2 (Bandwagon) |
|
|
| IP | 104.194.92.188 |
|
|
| 域名 | kiwi.ishenwei.online |
|
|
| SSH | `ssh vps2` |
|
|
| Web管理 | https://kiwi.ishenwei.online:2053/ |
|
|
| 用户名 | d96nRBgFUL |
|
|
| 密码 | er9XU0VsF1 |
|
|
|
|
---
|
|
|
|
## 2. 安装 3X-UI
|
|
|
|
### 一键安装命令
|
|
|
|
```bash
|
|
bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)
|
|
```
|
|
|
|
### 命令行管理
|
|
|
|
```bash
|
|
ssh vps2
|
|
x-ui
|
|
```
|
|
|
|
### 管理菜单说明
|
|
|
|
```
|
|
╔────────────────────────────────────────────────╗
|
|
║ 3X-UI Panel Management Script ║
|
|
║ 0. Exit Script ║
|
|
────────────────────────────────────────────────║
|
|
║ 1. Install ║
|
|
║ 2. Update ║
|
|
║ 3. Update Menu ║
|
|
║ 4. Legacy Version ║
|
|
║ 5. Uninstall ║
|
|
────────────────────────────────────────────────║
|
|
║ 6. Reset Username & Password ║
|
|
║ 7. Reset Web Base Path ║
|
|
║ 8. Reset Settings ║
|
|
║ 9. Change Port ║
|
|
║ 10. View Current Settings ║
|
|
────────────────────────────────────────────────║
|
|
║ 11. Start ║
|
|
║ 12. Stop ║
|
|
║ 13. Restart ║
|
|
║ 14. Check Status ║
|
|
║ 15. Logs Management ║
|
|
────────────────────────────────────────────────║
|
|
║ 16. Enable Autostart ║
|
|
║ 17. Disable Autostart ║
|
|
────────────────────────────────────────────────║
|
|
║ 18. SSL Certificate Management ║
|
|
║ 19. Cloudflare SSL Certificate ║
|
|
║ 20. IP Limit Management ║
|
|
║ 21. Firewall Management ║
|
|
║ 22. SSH Port Forwarding Management ║
|
|
────────────────────────────────────────────────║
|
|
║ 23. Enable BBR ║
|
|
║ 24. Update Geo Files ║
|
|
║ 25. Speedtest by Ookla ║
|
|
╚────────────────────────────────────────────────╝
|
|
```
|
|
|
|
### 常用操作
|
|
|
|
| 操作 | 命令 |
|
|
|------|------|
|
|
| 启动 | `x-ui` → 输入 `11` |
|
|
| 停止 | `x-ui` → 输入 `12` |
|
|
| 重启 | `x-ui` → 输入 `13` |
|
|
| 查看状态 | `x-ui` → 输入 `14` |
|
|
| 更新Geo文件 | `x-ui` → 输入 `24` |
|
|
| 启用BBR | `x-ui` → 输入 `23` |
|
|
|
|
### 当前状态
|
|
|
|
- Panel state: Running ✅
|
|
- xray state: Running ✅
|
|
- Autostart: Enabled ✅
|
|
|
|
---
|
|
|
|
## 3. 配置入站规则
|
|
|
|
### Web 管理地址
|
|
|
|
- 地址: https://104.194.92.188:18888/2atA1GaPdNBMyRRGWi
|
|
- 用户名: d96nRBgFUL
|
|
- 密码: er9XU0VsF1
|
|
|
|
### 配置策略
|
|
|
|
使用 VLESS+Reality 方式配置,需要产生公钥和私钥。
|
|
![[IMG-20260210125706904.png]]
|
|
![[IMG-20260210125706904.png]]
|
|
|
|
---
|
|
|
|
## 4. 本地客户端
|
|
|
|
### Windows/Linux
|
|
|
|
客户端: [v2rayN](https://github.com/2dust/v2rayN)
|
|
|
|
### Android
|
|
|
|
客户端: [v2rayNG](https://github.com/2dust/v2rayNG)
|
|
|
|
---
|
|
|
|
## 5. 网络测试
|
|
|
|
- 国内访问直连: ✅ 200
|
|
- 国外访问直连: ✅ 200
|