XTLS / Xray-core

Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
https://t.me/projectXray
Mozilla Public License 2.0
25.32k stars 3.91k forks source link

运行2周左右节点被封,ssr测速卡住;但回落服务可以访问 #620

Closed huangyingjie closed 3 years ago

huangyingjie commented 3 years ago

现象

感觉是vless协议被识别了。

配置

    "inbounds": [
        {
            "port": 443,
            "protocol": "vless",
            "settings": {
                "clients": [
                    {
                        "id": "===============------",
                        "flow": "xtls-rprx-direct",
                        "level": 0,
                        "email": "vlesstls@example.com"
                    }
                ],
                "decryption": "none",
                "fallbacks": [
                    {
                        "dest": 8080
                    },
                    {
                        "path": "/websocket1",
                        "dest": 1234,
                        "xver": 1
                    }
                ]
            },
            "sniffing": {
              "enabled": true,
              "destOverride": ["http", "tls"]
            },
            "streamSettings": {
                "network": "tcp",
                "security": "xtls",
                "xtlsSettings": {
                    "alpn": [
                        "http/1.1"
                    ],
                    "certificates": [
                        {
                            "certificateFile": "/etc/nginx/crt/v2ray.crt",
                            "keyFile": "/etc/nginx/crt/v2ray.key"
                        }
                    ]
                }
            }
        },
        {
            "port": 1234,
            "listen": "127.0.0.1",
            "protocol": "vless",
            "settings": {
                "clients": [
                    {
                        "id": "===============",
                        "level": 0,
                        "email": "vlessws@example.com"
                    }
                ],
                "decryption": "none"
            },
            "streamSettings": {
                "network": "ws",
                "security": "none",
                "wsSettings": {
                    "acceptProxyProtocol": true,
                    "path": "/websocket1"
                }
            }
        }
    ],
    "outbounds": [
        {
            "protocol": "freedom",
            "settings": {
              "domainStrategy": "UseIP"
            }
        }
    ],
huangyingjie commented 3 years ago

可能是shadowrocket的bug,因为一度回落服务也被墙了,可能这个导致shadowrocket卡死,重启手机后恢复了。 但之前有一次节点是被彻底封杀了,不得已换了ip,这个估计也快了。