Xray-examples/VLESS-WSS-Nginx/client.jsonc

70 lines
1.3 KiB
Plaintext
Raw Normal View History

2022-08-29 15:17:11 +00:00
{
"log": {},
"inbounds": [
{
"port": "1080",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
}
},
{
"port": "1081",
"protocol": "http",
"settings": {}
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "xx.com",
"port": 443,
"users": [
{
"id": "", //填写你的 UUID
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"wsSettings": {
"path": "/Path2WS?ed=2560" //?ed=2560 前面填写你的 path
2022-11-17 08:47:59 +00:00
},
"tlsSettings": {
"allowInsecure": false,
"serverName": "xx.com", //Equal to "SNI"
2022-11-17 08:47:59 +00:00
"fingerprint": "chrome" //"chrome" or "firefox"
}
2022-08-29 15:17:11 +00:00
}
},
2022-08-29 15:17:11 +00:00
{
"tag": "direct",
"protocol": "freedom",
"settings": {}
},
{
"tag": "blocked",
"protocol": "blackhole",
"settings": {}
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"ip": ["geoip:private"],
2022-08-29 15:17:11 +00:00
"outboundTag": "direct"
}
]
}
}