cat << 'EOF' > /usr/local/xray/config.json
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"port": 8443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "ce2a605b-f63f-4640-930d-256abab5d6d7",
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"dest": "dl.google.com:443",
"xver": 0,
"serverNames": [
"dl.google.com"
],
"privateKey": "ВСТАВЬ_СЮДА_PRIVATE_KEY",
"shortIds": [
"8250e2b0bf596611"
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}
EOF