Xray-examples/VLESS-TCP-XTLS-Vision-REALITY/config_server.jsonc

51 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2023-09-02 15:05:12 +00:00
{
"log": {
"loglevel": "debug"
},
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "", // run `xray uuid` to generate
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
2024-03-22 04:56:11 +00:00
"dest": "", // A website that support TLS1.3 and h2. You can also use `1.1.1.1:443` as dest
2023-09-02 15:05:12 +00:00
"serverNames": [
2024-03-22 04:56:11 +00:00
"" // A server name in the cert of dest site. If you use `1.1.1.1:443` as dest, then you can leave `serverNames` empty, it is a possible ways to bypass Iran's internet speed restrictions.
2023-09-02 15:05:12 +00:00
],
2023-09-07 09:21:13 +00:00
"privateKey": "", // run `xray x25519` to generate. Public and private keys need to be corresponding.
"shortIds": [// Required, list of shortIds available to clients, can be used to distinguish different clients
"", // If this item exists, client shortId can be empty
"0123456789abcdef" // 0 to f, length is a multiple of 2, maximum length is 16
]
2023-09-02 15:05:12 +00:00
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
],
"routeOnly": true
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
}
]
}