Rewrite README: current features, YouTube-safe commands
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
c6a12850a1
commit
3b344ebc9f
@@ -1,63 +1,111 @@
|
||||
## x-ui-pro (x-ui + nginx) modification of https://github.com/GFW4Fun/x-ui-pro for REALITY
|
||||
- Auto Installation (lightweight)
|
||||
- Auto SSL renewal / Daily reload Nginx X-ui
|
||||
- Handle **REALITY** and **WebSocket** via **nginx**.
|
||||
- Multi-user and config via port **443**
|
||||
- Auto enabled subscriptions via port **443**
|
||||
- Auto configured VLESS+Reality and VLESSoverWebSocket
|
||||
- **Custom Web Sub Page**
|
||||
- Feature that allows the use of **custom client configurations for SING-BOX & CLASH META**
|
||||
- **Local instance sub2sing-box**
|
||||
- Auto configured Firewall
|
||||
- More security and low detection with nginx
|
||||
- Compatible with Cloudflare (only for WebSocket/GRPC)
|
||||
- Random 150+ fake template!
|
||||
- Linux Debian12/Ubuntu24!
|
||||
>
|
||||
**You need TWO domains or subdomains**
|
||||
1. For panel and WebSocket/GRPC/HttpUgrade/SplitHttp
|
||||
2. For REALITY destination
|
||||
>
|
||||
Get Free subdomains - https://scarce-hole-1e2.notion.site/14d1666462e48069818cf42553bfae1f?pvs=74
|
||||
>
|
||||
RU instruction - https://scarce-hole-1e2.notion.site/3X-UI-pro-with-REALITY-panel-and-inbaunds-on-port-443-10d1666462e48085be0fee4c136ce417
|
||||
# 3x-ui-pro
|
||||
|
||||
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
|
||||
Автоматическая установка панели [3x-ui](https://github.com/MHSanaei/3x-ui) с nginx, SSL, Clash-подпиской и диагностикой сети.
|
||||
|
||||
### Install X-UI-PRO
|
||||
- Debian 12 / Ubuntu 24
|
||||
- Два домена или поддомена (для панели и для REALITY)
|
||||
- Автоматическое обновление SSL-сертификатов
|
||||
- Поддержка VLESS+REALITY, VLESS+WebSocket, VLESS+XHTTP, Trojan+gRPC — всё через порт 443
|
||||
|
||||
```
|
||||
bash <(wget -qO- https://github.com/mozaroc/x-ui-pro/raw/master/x-ui-pro.sh) -install yes -panel 1 -ONLY_CF_IP_ALLOW no
|
||||
```
|
||||
>
|
||||
> Do not change SubDomain for renew SSL❗
|
||||
---
|
||||
|
||||
## Что устанавливается
|
||||
|
||||
**Uninstall X-UI-PRO**:x:
|
||||
```
|
||||
sudo su -c "bash <(wget -qO- https://raw.githubusercontent.com/mozaroc/x-ui-pro/master/x-ui-pro.sh) -Uninstall yes"
|
||||
| Компонент | Описание |
|
||||
|-----------|----------|
|
||||
| 3x-ui | VPN-панель с веб-интерфейсом |
|
||||
| nginx | Обратный прокси, SNI-роутинг |
|
||||
| certbot | Let's Encrypt SSL |
|
||||
| Clash-подписка | Автоматическая выдача `clash.yaml` по User-Agent |
|
||||
| Диагностика | MTR-трейсер + тест скорости в браузере |
|
||||
| Фейковый сайт | Случайный HTML-сайт-прикрытие |
|
||||
| Бэкап | Скрипт резервного копирования |
|
||||
|
||||
---
|
||||
|
||||
## Установка
|
||||
|
||||
**Шаг 1 — скачать скрипт**
|
||||
|
||||
```bash
|
||||
wget -qO x-ui-latest.sh https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-latest.sh
|
||||
```
|
||||
|
||||
**backup panel and nginx configs**:x:
|
||||
```
|
||||
sudo su -c "bash <(wget -qO- https://raw.githubusercontent.com/mozaroc/x-ui-pro/master/backup.sh)"
|
||||
**Шаг 2 — запустить**
|
||||
|
||||
```bash
|
||||
bash x-ui-latest.sh -install y -subdomain panel.example.com -reality_domain r.example.com
|
||||
```
|
||||
|
||||
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
|
||||
### Screenshots :wrench:🐧⚙️
|
||||
>
|
||||
**How to open custom web sub page?**
|
||||
>
|
||||

|
||||
>
|
||||
**Main Page custom web sub**
|
||||
>
|
||||

|
||||
>
|
||||
**sub2sing-box section on custom web sub page**
|
||||
>
|
||||

|
||||
>
|
||||
**local instance sub2sing-box fork by legiz**
|
||||
>
|
||||

|
||||
Замените `panel.example.com` на домен панели, `r.example.com` — на домен для REALITY.
|
||||
|
||||
---
|
||||
|
||||
## Удаление
|
||||
|
||||
```bash
|
||||
bash x-ui-latest.sh -uninstall y
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Параметры запуска
|
||||
|
||||
| Параметр | Описание |
|
||||
|----------|----------|
|
||||
| `-install y` | Установить |
|
||||
| `-subdomain <домен>` | Домен панели и подписок |
|
||||
| `-reality_domain <домен>` | Домен назначения для REALITY |
|
||||
| `-auto_domain y` | Автоопределение домена (без ручного ввода) |
|
||||
| `-uninstall y` | Полное удаление |
|
||||
|
||||
---
|
||||
|
||||
## Clash-подписка
|
||||
|
||||
Работает через определение User-Agent — один URL, разное поведение:
|
||||
|
||||
- **Clash / Mihomo / Stash** → получают `clash.yaml` с готовой конфигурацией
|
||||
- **Обычный браузер / другие клиенты** → получают стандартную страницу подписки 3x-ui
|
||||
|
||||
Ссылку для импорта выводит скрипт после установки.
|
||||
|
||||
---
|
||||
|
||||
## Бэкап и восстановление
|
||||
|
||||
**Установить скрипт бэкапа**
|
||||
|
||||
```bash
|
||||
wget -qO /usr/local/bin/x-ui-backup https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/assets/backup/x-ui-backup.sh
|
||||
chmod +x /usr/local/bin/x-ui-backup
|
||||
```
|
||||
|
||||
**Создать бэкап**
|
||||
|
||||
```bash
|
||||
x-ui-backup backup
|
||||
```
|
||||
|
||||
**Список бэкапов**
|
||||
|
||||
```bash
|
||||
x-ui-backup list
|
||||
```
|
||||
|
||||
**Восстановить из бэкапа** (на чистом сервере, пакеты ставятся автоматически)
|
||||
|
||||
```bash
|
||||
x-ui-backup restore /var/backups/x-ui/x-ui-backup-20260101-120000.tar.gz
|
||||
```
|
||||
|
||||
Бэкап включает: конфиги nginx, БД панели, бинарник 3x-ui, SSL-сертификаты, веб-контент, systemd-юниты, cron, правила UFW.
|
||||
|
||||
---
|
||||
|
||||
## Диагностика сети
|
||||
|
||||
После установки доступна по ссылке, которую выводит скрипт. Включает:
|
||||
|
||||
- MTR-трейс до вашего IP
|
||||
- Тест скорости загрузки и отдачи (512 МБ файлы)
|
||||
|
||||
Reference in New Issue
Block a user