Files
HomeServerServices/xray/config/config.json.example
2026-10-28 19:32:22 +04:00

70 lines
1.2 KiB
JSON

{
"log": {
"loglevel": "__LOG_LEVEL__",
"access": "none"
},
"inbounds": [
{
"tag": "vless-reality-in",
"listen": "0.0.0.0",
"port": __PORT__,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "__UUID__"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"dest": "__DEST__",
"xver": 0,
"serverNames": [
"__SERVER_NAME__"
],
"privateKey": "__PRIVATE_KEY__",
"shortIds": [
"__SHORT_ID__"
]
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
],
"routeOnly": true
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom"
},
{
"tag": "block",
"protocol": "blackhole"
}
],
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "direct"
}
]
}
}