mirror of
https://github.com/xVRVx/autoXRAY.git
synced 2026-09-01 11:35:33 +00:00
Add files via upload
This commit is contained in:
19
autoXRAY.sh
19
autoXRAY.sh
@@ -6,7 +6,7 @@ apt update && apt install sudo -y
|
||||
sudo apt update && sudo apt install -y jq
|
||||
|
||||
echo "Настройка DNS..."
|
||||
echo -e "nameserver 8.8.4.4\nnameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
|
||||
echo -e "nameserver 8.8.4.4\nnameserver 8.8.8.8\nnameserver 1.1.1.1" | sudo tee /etc/resolv.conf > /dev/null
|
||||
|
||||
# Установка Xray
|
||||
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
|
||||
@@ -45,6 +45,7 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"servers": [
|
||||
"https+local://8.8.4.4/dns-query",
|
||||
"https+local://8.8.8.8/dns-query",
|
||||
"https+local://1.1.1.1/dns-query",
|
||||
"localhost"
|
||||
]
|
||||
},
|
||||
@@ -92,6 +93,7 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"show": false,
|
||||
"target": "${xray_dest_vrv}:443",
|
||||
"xver": 0,
|
||||
"SpiderX": "/",
|
||||
"serverNames": [
|
||||
"${xray_dest_vrv}"
|
||||
],
|
||||
@@ -142,6 +144,7 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"show": false,
|
||||
"target": "${xray_dest_vrv222}:443",
|
||||
"xver": 0,
|
||||
"SpiderX": "/",
|
||||
"serverNames": [
|
||||
"${xray_dest_vrv222}"
|
||||
],
|
||||
@@ -184,7 +187,15 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
}
|
||||
],
|
||||
"network": "tcp,udp"
|
||||
}
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls",
|
||||
"quic"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
@@ -237,7 +248,7 @@ message="<b>VPN конфиги:</b>
|
||||
|
||||
- <b>Android</b>: <a href='https://play.google.com/store/apps/details?id=com.happproxy'>Happ</a> или <a href='https://play.google.com/store/apps/details?id=com.v2raytun.android'>v2rayTun</a> или <a href='https://play.google.com/store/apps/details?id=com.v2ray.ang'>v2rayNG</a>
|
||||
|
||||
- <b>Windows</b>: <a href='https://github.com/hiddify/hiddify-next/releases/latest/download/Hiddify-Windows-Setup-x64.exe'>Hiddify</a> или <a href='https://github.com/MatsuriDayo/nekoray/releases'>Nekoray</a>
|
||||
- <b>Windows</b>: Happ или winLoadXRAY или <a href='https://github.com/hiddify/hiddify-next/releases/latest/download/Hiddify-Windows-Setup-x64.exe'>Hiddify</a> или <a href='https://github.com/MatsuriDayo/nekoray/releases'>Nekoray</a>
|
||||
|
||||
Сайт с инструкциями: <a href='https://blog.skybridge.run/'>blog.skybridge.run</a>.
|
||||
|
||||
@@ -273,7 +284,7 @@ echo -e "\033[32m$link3\033[0m
|
||||
Скопируйте конфиг в специализированное приложение:
|
||||
- iOS: Happ или v2rayTun или FoXray
|
||||
- Android: Happ или v2rayTun или v2rayNG
|
||||
- Windows: Hiddify или Nekoray
|
||||
- Windows: Happ & winLoadXRAY & Hiddify & Nekoray
|
||||
|
||||
Сайт с инструкциями: blog.skybridge.run
|
||||
|
||||
|
||||
Reference in New Issue
Block a user