Генераторы конфигов Xray и Mihomo для XKeen на GitHub Pages
- tools/xray: 04_outbounds.json и 05_routing.json — серверы, выбор сервисов по геобазам XKeen (ZKeen, V2Fly, Re:filter), реклама, QUIC, свои сайты, балансировщик для нескольких серверов - tools/mihomo: config.yaml с портами XKeen, подпиской, Hysteria2, автовыбором сервера и панелью zashboard - Обе страницы выдают команду, которая пишет файлы на роутер и перезапускает XKeen - Всё считается в браузере, ссылки не сохраняются и никуда не отправляются - Корень сайта перенаправляет на репозиторий Проверено: модульные тесты, xray -test и mihomo -t на всех сценариях, команды — в busybox ash, живое подключение через REALITY и Hysteria2.
This commit is contained in:
@@ -1 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="720" height="263" viewBox="0 0 720 263" role="img" aria-label="root@Keenetic: /opt/etc/xray/configs"><title>root@Keenetic: /opt/etc/xray/configs</title><style>.s{font-family:Inter, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif}.m{font-family:'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}</style><rect x="0.5" y="0.5" width="719" height="262" rx="14" fill="#0d1117" stroke="#30363d" stroke-width="1" /><path d="M1 44 H719" stroke="#30363d"/><circle cx="22" cy="22" r="6" fill="#ff5f57"/><circle cx="40" cy="22" r="6" fill="#febc2e"/><circle cx="58" cy="22" r="6" fill="#28c840"/><text x="360.0" y="27" class="m" font-size="13" fill="#8b949e" font-weight="500" text-anchor="middle">root@Keenetic: /opt/etc/xray/configs</text><text x="22" y="70" class="m" font-size="13.5" fill="#3fb950" xml:space="preserve">~ # </text><text x="54.52" y="70" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve">ls /opt/etc/xray/configs/</text><text x="22" y="91" class="m" font-size="13.5" fill="#8b949e" xml:space="preserve">01_log.json</text><text x="22" y="112" class="m" font-size="13.5" fill="#8b949e" xml:space="preserve">02_dns.json</text><text x="22" y="133" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve">03_inbounds.json </text><text x="184.60000000000002" y="133" class="m" font-size="13.5" fill="#8b949e" xml:space="preserve"># режим: Hybrid по умолчанию, TProxy — заменой файла</text><rect x="10" y="139" width="700" height="22" rx="5" fill="#3fb95022" stroke="#3fb950" stroke-width="1" /><circle cx="692" cy="149.5" r="11" fill="#3fb950"/><text x="692" y="154.0" class="s" font-size="12" fill="#0d1117" font-weight="700" text-anchor="middle">1</text><text x="22" y="154" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve">04_outbounds.json </text><text x="184.60000000000002" y="154" class="m" font-size="13.5" fill="#3fb950" xml:space="preserve"># подключение к вашему серверу</text><rect x="10" y="160" width="700" height="22" rx="5" fill="#3fb95022" stroke="#3fb950" stroke-width="1" /><circle cx="692" cy="170.5" r="11" fill="#3fb950"/><text x="692" y="175.0" class="s" font-size="12" fill="#0d1117" font-weight="700" text-anchor="middle">2</text><text x="22" y="175" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve">05_routing.json </text><text x="184.60000000000002" y="175" class="m" font-size="13.5" fill="#3fb950" xml:space="preserve"># что пускать через прокси</text><text x="22" y="196" class="m" font-size="13.5" fill="#8b949e" xml:space="preserve">06_policy.json</text><text x="22" y="217" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve"></text><text x="22" y="238" class="m" font-size="13.5" fill="#3fb950" xml:space="preserve">~ # </text><text x="54.52" y="238" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve">xkeen -restart</text></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="720" height="200" viewBox="0 0 720 200" role="img" aria-label="root@Keenetic: /opt/etc/xray/configs"><title>root@Keenetic: /opt/etc/xray/configs</title><style>.s{font-family:Inter, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif}.m{font-family:'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}</style><rect x="0.5" y="0.5" width="719" height="199" rx="14" fill="#0d1117" stroke="#30363d" stroke-width="1" /><path d="M1 44 H719" stroke="#30363d"/><circle cx="22" cy="22" r="6" fill="#ff5f57"/><circle cx="40" cy="22" r="6" fill="#febc2e"/><circle cx="58" cy="22" r="6" fill="#28c840"/><text x="360.0" y="27" class="m" font-size="13" fill="#8b949e" font-weight="500" text-anchor="middle">root@Keenetic: /opt/etc/xray/configs</text><text x="22" y="70" class="m" font-size="13.5" fill="#3fb950" xml:space="preserve">~ # </text><text x="54.52" y="70" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve">ls /opt/etc/xray/configs/</text><text x="22" y="91" class="m" font-size="13.5" fill="#8b949e" xml:space="preserve">03_inbounds.json # режим работы — оставьте как есть</text><rect x="10" y="97" width="700" height="22" rx="5" fill="#3fb95022" stroke="#3fb950" stroke-width="1" /><circle cx="692" cy="107.5" r="11" fill="#3fb950"/><text x="692" y="112.0" class="s" font-size="12" fill="#0d1117" font-weight="700" text-anchor="middle">1</text><text x="22" y="112" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve">04_outbounds.json </text><text x="184.60000000000002" y="112" class="m" font-size="13.5" fill="#3fb950" xml:space="preserve"># подключение к вашему серверу</text><rect x="10" y="118" width="700" height="22" rx="5" fill="#3fb95022" stroke="#3fb950" stroke-width="1" /><circle cx="692" cy="128.5" r="11" fill="#3fb950"/><text x="692" y="133.0" class="s" font-size="12" fill="#0d1117" font-weight="700" text-anchor="middle">2</text><text x="22" y="133" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve">05_routing.json </text><text x="184.60000000000002" y="133" class="m" font-size="13.5" fill="#3fb950" xml:space="preserve"># что пускать через прокси</text><text x="22" y="154" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve"></text><text x="22" y="175" class="m" font-size="13.5" fill="#3fb950" xml:space="preserve">~ # </text><text x="54.52" y="175" class="m" font-size="13.5" fill="#e6edf3" xml:space="preserve">xkeen -restart</text></svg>
|
||||
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.5 KiB |
@@ -69,19 +69,20 @@ sh -c "$(curl -sSL https://raw.githubusercontent.com/jameszeroX/XKeen/main/insta
|
||||
|
||||
## 5. Подключите свой сервер
|
||||
|
||||
Для Xray нужно отредактировать два файла в `/opt/etc/xray/configs/`:
|
||||
Для Xray нужны два файла в `/opt/etc/xray/configs/`:
|
||||
|
||||

|
||||
|
||||
1. `04_outbounds.json` — подключение к вашему серверу. Проще всего получить
|
||||
его из ссылки `vless://` в [генераторе Outbound](https://zxc-rv.github.io/XKeen-UI/Outbound_Generator/).
|
||||
2. `05_routing.json` — какие сайты и IP пускать через прокси.
|
||||
1. `04_outbounds.json` — подключение к вашему серверу.
|
||||
2. `05_routing.json` — какие сайты и сервисы пускать через прокси.
|
||||
|
||||
Запустите проксирование:
|
||||
Оба файла собирает наш **[генератор Xray](https://pinkmanxxx.github.io/pinkman_manuals/tools/xray/)**:
|
||||
вставьте ссылку `vless://`, отметьте сервисы — и получите одну команду,
|
||||
которая сама запишет файлы на роутер и перезапустит XKeen. Для ядра Mihomo
|
||||
и ссылок Hysteria2 есть **[генератор Mihomo](https://pinkmanxxx.github.io/pinkman_manuals/tools/mihomo/)**.
|
||||
|
||||
```bash
|
||||
xkeen -start
|
||||
```
|
||||
> [!NOTE]
|
||||
> Генераторы работают прямо в браузере — ссылки с паролями никуда не отправляются.
|
||||
|
||||
Чтобы через прокси ходили только нужные устройства, в веб-интерфейсе откройте
|
||||
**Приоритеты подключений → Политики доступа в Интернет**, создайте политику
|
||||
|
||||
Reference in New Issue
Block a user