diff --git a/test/autoXRAYselfXHTTPtls.sh b/test/autoXRAYselfXHTTPtls.sh index 1d98a21..4190353 100644 --- a/test/autoXRAYselfXHTTPtls.sh +++ b/test/autoXRAYselfXHTTPtls.sh @@ -53,22 +53,11 @@ bash -c "cat > $CONFIG_PATH" < "$SCRIPT_DIR/config.json" }, "inbounds": [ { - "tag": "vsTCPtls", + "tag": "vsTCPxtls", "port": 443, "listen": "0.0.0.0", "protocol": "vless", "settings": { "clients": [ { + "flow": "xtls-rprx-vision", "id": "${xray_uuid_vrv}" } ], @@ -245,13 +235,18 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "xver": 1 }, { - "dest": "/dev/shm/nginx.sock", + "path": "/${path_xhttp}33", + "dest": 8433, + "xver": 1 + }, + { + "dest": "/dev/shm/nginx222.sock", "xver": 1 } ] }, "streamSettings": { - "network": "tcp", + "network": "raw", "security": "tls", "tlsSettings": { "certificates": [ @@ -334,6 +329,32 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" ] } }, + { + "tag": "vsTCPtls33", + "port": 8433, + "listen": "127.0.0.1", + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "${xray_uuid_vrv}" + } + ], + "decryption": "none" + }, + "streamSettings": { + "network": "raw", + "security": "none" + }, + "sniffing": { + "enabled": true, + "destOverride": [ + "http", + "tls", + "quic" + ] + } + }, { "tag": "ShadowSocks2022", "port": 4443, @@ -852,7 +873,9 @@ echo -e "Готово!\n" subPageLink="https://$DOMAIN/$path_subpage.json" # Формирование ссылок -link01="vless://${xray_uuid_vrv}@$DOMAIN:443?security=tls&type=tcp&headerType=&path=&host=&sni=$DOMAIN&fp=chrome&pbk=${xray_publicKey_vrv}&sid=${xray_shortIds_vrv}&spx=%2F#vlessTCPtls-autoXRAY" +link01="vless://${xray_uuid_vrv}@$DOMAIN:443?security=tls&type=tcp&headerType=&path=&host=&flow=xtls-rprx-vision&sni=$DOMAIN&fp=chrome&pbk=${xray_publicKey_vrv}&sid=${xray_shortIds_vrv}&spx=%2F#vlessTCPtls-autoXRAY" + +link012="vless://${xray_uuid_vrv}@$DOMAIN:443?security=tls&type=tcp&headerType=&path=&host=&sni=$DOMAIN&fp=chrome&pbk=${xray_publicKey_vrv}&sid=${xray_shortIds_vrv}&spx=%2F#vlessTCPtls-autoXRAY" link02="vless://${xray_uuid_vrv}@$DOMAIN:443?security=tls&type=xhttp&headerType=&path=%2F${path_xhttp}&host=&mode=auto&sni=$DOMAIN&fp=chrome&pbk=${xray_publicKey_vrv}&sid=${xray_shortIds_vrv}&spx=%2F#vlessXHTTPtls-autoXRAY" @@ -877,9 +900,11 @@ cat > "$WEB_PATH/$path_subpage.html" <