mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-08 18:13:13 +00:00
57 lines
1.7 KiB
Plaintext
57 lines
1.7 KiB
Plaintext
{
|
|
"log": {
|
|
"loglevel": "debug"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": 10808,
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls",
|
|
"quic"
|
|
],
|
|
"routeOnly": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "",
|
|
"port": 443,
|
|
"users": [
|
|
{
|
|
"id": "", // Needs to match server side
|
|
"encryption": "none",
|
|
"flow": "xtls-rprx-vision"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "reality",
|
|
"realitySettings": {
|
|
"fingerprint": "chrome",
|
|
"serverName": "", // A website that support TLS1.3 and h2. If your dest is `1.1.1.1:443`, then leave it empty
|
|
"publicKey": "", // run `xray x25519` to generate. Public and private keys need to be corresponding.
|
|
"spiderX": "", // If your dest is `1.1.1.1:443`, then you can fill it with `/dns-query/` or just leave it empty
|
|
"shortId": "" // Required
|
|
}
|
|
},
|
|
"tag": "proxy"
|
|
}
|
|
]
|
|
}
|