From 212bdd10f7c4e0dc049b7fbf61cc0320b10d0fd9 Mon Sep 17 00:00:00 2001 From: xVRVx <63975481+xVRVx@users.noreply.github.com> Date: Mon, 22 Dec 2025 22:14:23 +0300 Subject: [PATCH] Add files via upload --- autoXRAYselfConfRUxhttp.sh | 47 ++++++++++++++++++--------------- autoXRAYselflConfRUbrEUxhttp.sh | 42 +++++++++++++++++------------ 2 files changed, 50 insertions(+), 39 deletions(-) diff --git a/autoXRAYselfConfRUxhttp.sh b/autoXRAYselfConfRUxhttp.sh index 5848b80..ca08ab9 100644 --- a/autoXRAYselfConfRUxhttp.sh +++ b/autoXRAYselfConfRUxhttp.sh @@ -404,9 +404,6 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" EOF # Создаем JSON конфигурацию клиента -#!/bin/bash - -# 1. Функция-шаблон (содержит повторяющуюся часть: Log, DNS, Routing, Inbounds) print_config() { local PROXY_OUTBOUND="$1" local REMARK="$2" @@ -465,21 +462,6 @@ print_config() { "geoip:private" ], "outboundTag": "direct" - }, - { - "ip": [ - "geoip:!ru" - ], - "outboundTag": "proxy" - }, - { - "domain": [ - "geosite:discord", - "geosite:youtube", - "geosite:tiktok", - "geosite:signal" - ], - "outboundTag": "proxy" } ] }, @@ -491,6 +473,14 @@ print_config() { "port": 10808, "settings": { "udp": true + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls", + "quic" + ] } }, { @@ -500,6 +490,14 @@ print_config() { "port": 2080, "settings": { "udp": true + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls", + "quic" + ] } }, { @@ -507,7 +505,15 @@ print_config() { "protocol": "http", "listen": "127.0.0.1", "port": 10809 - } + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls", + "quic" + ] + } ], "outbounds": [ $PROXY_OUTBOUND, @@ -525,8 +531,6 @@ print_config() { TPL } -# 2. Определяем уникальные настройки (Outbounds) - # --- Config 1: VLESS Reality + Vision --- OUT_REALITY_VISION='{ "mux": { "concurrency": -1, "enabled": false }, @@ -639,7 +643,6 @@ OUT_SS='{ } }' -# 3. Сборка JSON массива и сохранение в файл ( echo "[" print_config "$OUT_REALITY_VISION" "🇪🇺 vlessRAWrealityXTLS" diff --git a/autoXRAYselflConfRUbrEUxhttp.sh b/autoXRAYselflConfRUbrEUxhttp.sh index c5ad2dd..f865ca9 100644 --- a/autoXRAYselflConfRUbrEUxhttp.sh +++ b/autoXRAYselflConfRUbrEUxhttp.sh @@ -483,22 +483,6 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.json" "geoip:private" ], "outboundTag": "direct" - }, - { - "type": "field", - "ip": [ - "geoip:!ru" - ], - "outboundTag": "proxy" - }, - { - "domain": [ - "geosite:discord", - "geosite:youtube", - "geosite:tiktok", - "geosite:signal" - ], - "outboundTag": "proxy" } ] }, @@ -510,6 +494,14 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.json" "port": 10808, "settings": { "udp": true + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls", + "quic" + ] } }, { @@ -519,13 +511,29 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.json" "port": 2080, "settings": { "udp": true + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls", + "quic" + ] } }, { "tag": "http-in", "protocol": "http", "listen": "127.0.0.1", - "port": 10809 + "port": 10809, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls", + "quic" + ] + } } ], "outbounds": [