Xray-examples/VLESS-TCP-XTLS-Vision/config_client.json
chika0801 ad496cb607
Vision配置示例更新 (#128)
* Update config_client.json

* Update config_server.json

* Update config_server.json

* Update config_server.json

* Update config_server.json

* Create nginx.conf

* Create README.md
2023-03-06 23:57:12 -05:00

94 lines
2.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"log": {
"loglevel": "warning"
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"domain": [
"geosite:cn",
"geosite:private"
],
"outboundTag": "direct"
},
{
"type": "field",
"ip": [
"geoip:cn",
"geoip:private"
],
"outboundTag": "direct"
}
]
},
"inbounds": [
{
"listen": "127.0.0.1", // 填 0.0.0.0 表示允许来自局域网的连接
"port": 10808, // v2rayN 本地socks监听端口
"protocol": "socks",
"settings": {
"udp": true
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
},
{
"listen": "127.0.0.1", // 填 "0.0.0.0" 表示允许来自局域网的连接
"port": 10809, // v2rayN 本地http监听端口
"protocol": "http",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "", // 地址服务端的域名或IP
"port": 443, // 端口,与服务端一致
"users": [
{
"id": "", // 用户ID与服务端一致
"encryption": "none",
"flow": "xtls-rprx-vision"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"serverName": "", // SNI如果"address"填的是服务端的域名,可留空,如果"address"填的是服务端的IP此处填服务端的证书中包含的域名
"allowInsecure": false,
"fingerprint": "chrome" // 用于配置指定 TLS Client Hello 的指纹Xray 将通过 uTLS 库 模拟 TLS 指纹,或随机生成
}
},
"tag": "proxy"
},
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
]
}