Files
xray-hello-world/config/client.json
T
2026-05-19 22:37:39 +08:00

59 lines
1.1 KiB
JSON

{
"log": {
"loglevel": "debug"
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 4343,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
}
}
],
"outbounds": [
{
"tag": "proxy",
"protocol": "vless",
"settings": {
"address": "xray-server",
"port": 443,
"id": "bc95a789-4dcb-42ae-8d01-ca1dc41d9a33",
"encryption": "none",
"level": 0
},
"streamSettings": {
"network": "xhttp",
"xhttpSettings": {
"mode": "auto",
"path": "/trapdoor"
},
"security": "reality",
"realitySettings": {
"serverName": "nginx",
"publicKey": "Cdc5-NYobJrn-aubIH4rCdV8_JuMvb29gEh39jR7MmI",
"shortId": "01",
"spiderX": "/fhtdjgu",
"fingerprint": "ios"
}
}
},
{
"tag": "direct",
"protocol": "freedom"
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"ip": [
"geoip:private"
],
"outboundTag": "direct"
}
]
}
}