mirror of
https://github.com/xVRVx/autoXRAY.git
synced 2026-08-27 09:05:33 +00:00
Add files via upload
This commit is contained in:
24
autoXRAY.sh
24
autoXRAY.sh
@@ -59,7 +59,12 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [],
|
||||
"clients": [
|
||||
{
|
||||
"flow": "xtls-rprx-vision",
|
||||
"id": "${xray_uuid_vrv}"
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"sniffing": {
|
||||
@@ -104,7 +109,12 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [],
|
||||
"clients": [
|
||||
{
|
||||
"flow": "xtls-rprx-vision",
|
||||
"id": "${xray_uuid_vrv}"
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"sniffing": {
|
||||
@@ -149,7 +159,12 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "shadowsocks",
|
||||
"settings": {
|
||||
"clients": []
|
||||
"clients": [
|
||||
{
|
||||
"password": "${xray_sspasw_vrv}",
|
||||
"method": "chacha20-ietf-poly1305"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
@@ -182,7 +197,8 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
{
|
||||
"domain": [
|
||||
"geosite:category-ads",
|
||||
"geosite:win-spy"
|
||||
"geosite:win-spy",
|
||||
"geosite:private"
|
||||
],
|
||||
"outboundTag": "block"
|
||||
},
|
||||
|
||||
@@ -67,7 +67,12 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [],
|
||||
"clients": [
|
||||
{
|
||||
"flow": "xtls-rprx-vision",
|
||||
"id": "${xray_uuid_vrv}"
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"sniffing": {
|
||||
@@ -112,7 +117,12 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [],
|
||||
"clients": [
|
||||
{
|
||||
"flow": "xtls-rprx-vision",
|
||||
"id": "${xray_uuid_vrv}"
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"sniffing": {
|
||||
@@ -157,7 +167,12 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "shadowsocks",
|
||||
"settings": {
|
||||
"clients": []
|
||||
"clients": [
|
||||
{
|
||||
"password": "${xray_sspasw_vrv}",
|
||||
"method": "chacha20-ietf-poly1305"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
|
||||
@@ -205,7 +205,12 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [],
|
||||
"clients": [
|
||||
{
|
||||
"flow": "xtls-rprx-vision",
|
||||
"id": "${xray_uuid_vrv}"
|
||||
}
|
||||
],
|
||||
"decryption": "none"
|
||||
},
|
||||
"sniffing": {
|
||||
@@ -250,97 +255,108 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json"
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [],
|
||||
"decryption": "none"
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls",
|
||||
"quic"
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "raw",
|
||||
"security": "reality",
|
||||
"realitySettings": {
|
||||
"show": false,
|
||||
"xver": 1,
|
||||
"target": "3333",
|
||||
"shortIds": [
|
||||
"${xray_shortIds_vrv}"
|
||||
"clients": [
|
||||
"clients": [
|
||||
{
|
||||
"flow": "xtls-rprx-vision",
|
||||
"id": "${xray_uuid_vrv}"
|
||||
}
|
||||
],
|
||||
"privateKey": "${xray_privateKey_vrv}",
|
||||
"serverNames": [
|
||||
"$DOMAIN"
|
||||
],
|
||||
"limitFallbackUpload": {
|
||||
"afterBytes": 0,
|
||||
"bytesPerSec": 65536,
|
||||
"burstBytesPerSec": 0
|
||||
},
|
||||
"limitFallbackDownload": {
|
||||
"afterBytes": 5242880,
|
||||
"bytesPerSec": 262144,
|
||||
"burstBytesPerSec": 2097152
|
||||
"decryption": "none"
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls",
|
||||
"quic"
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "raw",
|
||||
"security": "reality",
|
||||
"realitySettings": {
|
||||
"show": false,
|
||||
"xver": 1,
|
||||
"target": "3333",
|
||||
"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": "ShadowsocksTCP",
|
||||
"port": 2040,
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "shadowsocks",
|
||||
"settings": {
|
||||
"clients": []
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls",
|
||||
"quic"
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "raw"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"tag": "direct",
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "ForceIPv4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "block",
|
||||
"protocol": "blackhole"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"rules": [
|
||||
{
|
||||
"domain": [
|
||||
"geosite:category-ads",
|
||||
"geosite:win-spy",
|
||||
"geosite:private"
|
||||
],
|
||||
"outboundTag": "block"
|
||||
},
|
||||
{
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "block"
|
||||
"tag": "ShadowsocksTCP",
|
||||
"port": 2040,
|
||||
"listen": "0.0.0.0",
|
||||
"protocol": "shadowsocks",
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"password": "${xray_sspasw_vrv}",
|
||||
"method": "chacha20-ietf-poly1305"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": [
|
||||
"http",
|
||||
"tls",
|
||||
"quic"
|
||||
]
|
||||
},
|
||||
"streamSettings": {
|
||||
"network": "raw"
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"tag": "direct",
|
||||
"protocol": "freedom",
|
||||
"settings": {
|
||||
"domainStrategy": "ForceIPv4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tag": "block",
|
||||
"protocol": "blackhole"
|
||||
}
|
||||
],
|
||||
"routing": {
|
||||
"rules": [
|
||||
{
|
||||
"domain": [
|
||||
"geosite:category-ads",
|
||||
"geosite:win-spy",
|
||||
"geosite:private"
|
||||
],
|
||||
"outboundTag": "block"
|
||||
},
|
||||
{
|
||||
"ip": [
|
||||
"geoip:private"
|
||||
],
|
||||
"outboundTag": "block"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user