|
|
配置如下,最后哪个是UDP的,尝试过配置TLS,依旧还是不行,有没有大佬可以给个作业抄一下啊...
{
"log": {
"loglevel": "none"
},
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "cb605fb6-faf3-6a33-3cc7-c95049245c56",
"flow": "xtls-rprx-vision,none"
}
],
"decryption": "none",
"fallbacks": [
{
"alpn": "h2",
"dest": ""
},
{
"dest": ""
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": [
"h2",
"http/1.1"
],
"minVersion": "1.2",
"certificates": [
{
"certificateFile": "",
"keyFile": "",
"ocspStapling": 3600
}
]
}
}
},
{
"listen": "/",
"protocol": "vless",
"settings": {
"clients": [
{
"id": "cb605fb6-faf3-6a33-3cc7-c95049245c56"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "grpc",
"grpcSettings": {
"serviceName": "1234"
}
}
},{
"protocol": "vless",
"port": 1234,
"settings": {
"decryption": "none",
"clients": [
{
"id": "cb605fb6-faf3-6a33-3cc7-c95049245c56"
}
]
},
"streamSettings": {
"network": "kcp",
"security": "none",
"kcpSettings": {
"udp": true,
"mtu": 1350,
"seed": "12345"
},
"header": {
"type": "wechat-video"
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}
|
|