找回密码
 立即注册
查看: 117|回复: 1

为啥XRAY配置UDP后链接一直提示TLS超时

[复制链接]

0

主题

0

回帖

20

积分

新手上路

积分
20
发表于 2023-7-4 09:28:24 | 显示全部楼层 |阅读模式
配置如下,最后哪个是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"
        }
    ]
}
回复

使用道具 举报

0

主题

962

回帖

0

积分

新手上路

积分
0
发表于 2023-7-4 09:36:09 | 显示全部楼层
UDP可以TLS的吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|翻墙党

GMT+8, 2026-9-28 17:13 , Processed in 0.064909 second(s), 29 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表