求个Xray Reality s5出站的配置文件

[复制链接]
查看: 2621   回复: 4
发表于 2023-12-10 18:57:55 | 显示全部楼层 |阅读模式
我是想将Reality配置成所有出站流量都走本地的s5,无需分流。目前这个配置通不了,正常用Reality能通,求指点。
  1. {    "log": {        "loglevel": "debug"    },    "inbounds": [        {            "port": 12345,             "protocol": "vless",            "settings": {                "clients": [                    {                        "id": "c7302ac1-6cf3-40c7-ba98-732c7481b977",                        "flow": "xtls-rprx-vision"                    }                ],                "decryption": "none"            },            "streamSettings": {                "network": "tcp",                "security": "reality",                "realitySettings": {                    "dest": "learn.microsoft.com:443",                    "serverNames": [                        "learn.microsoft.com"                    ],                    "privateKey": "2CSVsGXkZ69S-M7TR-uBv55kPkusWSTEZDga3wwwUHU",                    "shortIds": [                        "",                        "0123456789abcdef"                    ]                }            },            "sniffing": {                "enabled": true,                "destOverride": [                    "http",                    "tls",                    "quic"                ],                "routeOnly": true            }        }    ],    "outbounds": [            {                      "tag": "direct",                      "protocol": "freedom"            },            {            "tag": "warp",            "protocol": "socks",            "settings": {                "servers": [                    {                        "address": "127.0.0.1",                        "port": 40000                    }                ]            }        }    ],    "routing": {        "rules": [            {                "type": "field",                "outboundTag": "warp",                "network": "tcp,udp"            }        ]    }}
复制代码
回复

使用道具 举报

发表于 2023-12-10 18:58:17 | 显示全部楼层
试试这样
  1. {    "log": {        "loglevel": "debug"    },    "inbounds": [        {            "port": 12345,             "protocol": "vless",            "settings": {                "clients": [                    {                        "id": "c7302ac1-6cf3-40c7-ba98-732c7481b977",                        "flow": "xtls-rprx-vision"                    }                ],                "decryption": "none"            },            "streamSettings": {                "network": "tcp",                "security": "reality",                "realitySettings": {                    "dest": "learn.microsoft.com:443",                    "serverNames": [                        "learn.microsoft.com"                    ],                    "privateKey": "2CSVsGXkZ69S-M7TR-uBv55kPkusWSTEZDga3wwwUHU",                    "shortIds": [                        "",                        "0123456789abcdef"                    ]                }            },            "sniffing": {                "enabled": true,                "destOverride": [                    "http",                    "tls",                    "quic"                ],                "routeOnly": true            }        }    ],    "outbounds": [            {            "tag": "warp",            "protocol": "socks",            "settings": {                "servers": [                    {                        "address": "127.0.0.1",                        "port": 40000                    }                ]            }        }    ]}
复制代码
回复 支持 反对

使用道具 举报

发表于 2023-12-10 18:58:25 | 显示全部楼层
感谢大佬,我最早的时候就是这样配置,没添加routing,不通可能是因为偷证书的网站不对,现在这个learn.microsoft.com可以,谢谢
回复 支持 反对

使用道具 举报

发表于 2023-12-10 18:58:43 | 显示全部楼层
那添加了routing可以吗?
回复 支持 反对

使用道具 举报

发表于 2023-12-10 18:59:06 | 显示全部楼层
目前按2L大佬给的设置可以用就没试了,你可以加routing试试,因为我不需要分流好像也用不到routing
回复 支持 反对

使用道具 举报

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

本版积分规则