diff --git a/autoXRAYselfConfRUxhttp.sh b/autoXRAYselfConfRUxhttp.sh index 00285cc..f417fa0 100644 --- a/autoXRAYselfConfRUxhttp.sh +++ b/autoXRAYselfConfRUxhttp.sh @@ -210,7 +210,7 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "inbounds": [ { "tag": "VxhttpRself", - "port": 443, + "port": 3333, "listen": "0.0.0.0", "protocol": "vless", "settings": { @@ -234,36 +234,12 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "xhttpSettings": { "mode": "auto", "path": "/${path_xhttp}" - }, - "security": "reality", - "realitySettings": { - "show": false, - "xver": 1, - "target": "/dev/shm/nginx.sock", - "spiderX": "/", - "shortIds": [ - "${xray_shortIds_vrv}" - ], - "privateKey": "${xray_privateKey_vrv}", - "serverNames": [ - "$DOMAIN" - ], - "limitFallbackUpload": { - "afterBytes": 0, - "bytesPerSec": 65536, - "burstBytesPerSec": 0 - }, - "limitFallbackDownload": { - "afterBytes": 5242880, - "bytesPerSec": 262144, - "burstBytesPerSec": 2097152 - } } } }, { "tag": "VtcpRself", - "port": 8443, + "port": 443, "listen": "0.0.0.0", "protocol": "vless", "settings": { @@ -273,7 +249,13 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "id": "${xray_uuid_vrv}" } ], - "decryption": "none" + "decryption": "none", + "fallbacks": [ + { + "dest": "3333", + "xver": 0 + } + ] }, "sniffing": { "enabled": true, @@ -313,7 +295,7 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" }, { "tag": "Shadowsocks", - "port": 10443, + "port": 8443, "listen": "0.0.0.0", "protocol": "shadowsocks", "settings": { @@ -538,7 +520,7 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.json" "protocol": "blackhole" } ], - "remarks": "🇧🇩 VlXhttpRty - autoXRAY" + "remarks": "🇧🇩 vlessXHTTPreality - autoXRAY" }, { "log": { @@ -659,7 +641,7 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.json" "vnext": [ { "address": "$DOMAIN", - "port": 8443, + "port": 443, "users": [ { "id": "${xray_uuid_vrv}", @@ -693,7 +675,7 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.json" "protocol": "blackhole" } ], - "remarks": "🇧🇩 VlRawRtyXtls - autoXRAY" + "remarks": "🇧🇩 VlessRAWrealityXTLS - autoXRAY" }, { "log": { @@ -813,7 +795,7 @@ cat << 'EOF' | envsubst > "$WEB_PATH/$path_subpage.json" "settings": { "servers": [ { - "port": 10443, + "port": 8443, "method": "chacha20-ietf-poly1305", "address": "$DOMAIN", "password": "${xray_sspasw_vrv}" @@ -847,17 +829,17 @@ subPageLink="https://$DOMAIN/$path_subpage.json" # Формирование ссылок link1="vless://${xray_uuid_vrv}@$DOMAIN:443?security=reality&type=xhttp&headerType=&path=%2F$path_xhttp&host=&mode=auto&sni=$DOMAIN&fp=chrome&pbk=${xray_publicKey_vrv}&sid=${xray_shortIds_vrv}&spx=%2F#VlXhttpRty" -link2="vless://${xray_uuid_vrv}@$DOMAIN:8443?security=reality&type=tcp&headerType=&path=&host=&flow=xtls-rprx-vision&sni=$DOMAIN&fp=chrome&pbk=${xray_publicKey_vrv}&sid=${xray_shortIds_vrv}&spx=%2F#VlRawRtyXtls" +link2="vless://${xray_uuid_vrv}@$DOMAIN:443?security=reality&type=tcp&headerType=&path=&host=&flow=xtls-rprx-vision&sni=$DOMAIN&fp=chrome&pbk=${xray_publicKey_vrv}&sid=${xray_shortIds_vrv}&spx=%2F#VlRawRtyXtls" ENCODED_STRING=$(echo -n "chacha20-ietf-poly1305:${xray_sspasw_vrv}" | base64) -link3="ss://$ENCODED_STRING@${ipserv}:10443#ShadowS" +link3="ss://$ENCODED_STRING@${ipserv}:8443#ShadowS" configListLink="https://$DOMAIN/$path_subpage.html" # Создаем html файл с конфигами cat > "$WEB_PATH/$path_subpage.html" <AutoXRAY configs -

🛸 VLESS XHTTP Reality - конфиг для роутера

$link1

🚀 VLESS RAW Reality Vision

$link2

🛡️ Shadowsocks - простой и быстрый

$link3

📂 Ссылка на подписку (готовый конфиг клиента с роутингом)

$subPageLink

📱 Приложение HAPP (Windows/Android/iOS/MAC/Linux)

+

🛸 VLESS XHTTP Reality - конфиг для роутера

$link1

🚀 VLESS RAW Reality xtls-rprx-vision

$link2

🛡️ Shadowsocks - простой и быстрый

$link3

📂 Ссылка на подписку (готовый конфиг клиента с роутингом)

$subPageLink

📱 Приложение HAPP (Windows/Android/iOS/MAC/Linux)

Маршрутизацию нужно выключить, она тут встроенная. По умолчанию она выключена - включатся, если вы пользовались сторонними сервисами.

⚡ Автодобавление в HAPP⬇️ Скачать HAPP
EOF