nixOS/secrets/xray-config.json.example

46 lines
970 B
JSON

{
"inbounds": [
{
"port": 10808,
"protocol": "socks",
"settings": {
"udp": true
}
},
{
"port": 10809,
"protocol": "http"
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "203.0.113.1",
"port": 443,
"users": [
{
"id": "00000000-0000-0000-0000-000000000000",
"encryption": "mlkem768x25519plus.native.0rtt.<base64-client-key>",
"flow": "xtls-rprx-vision"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"fingerprint": "chrome",
"serverName": "www.example.com",
"publicKey": "<reality-public-key>",
"shortId": "<short-id>",
"spiderX": "/"
}
}
}
]
}