chika0801 / sing-box-examples

sing-box 配置示例
https://github.com/SagerNet/sing-box
1.8k stars 299 forks source link

关于inbounds 写法的一些疑问 #59

Closed cary-sas closed 12 months ago

cary-sas commented 12 months ago

我想把 sing-box 放在路由器里使用,替换现在的xray,但我不知道如何把下面适配 xray 的 inbounds 配置格式,转换成适配 sing-box 的,很多field 都不对应。

"inbounds": [
                    {
                        "port": 23456,
                        "listen": "0.0.0.0",
                        "protocol": "socks",
                        "settings": {
                            "auth": "noauth",
                            "udp": true,
                            "ip": "127.0.0.1",
                            "clients": null
                        },
                        "streamSettings": null
                    },
                    {
                        "listen": "0.0.0.0",
                        "port": 3333,
                        "protocol": "dokodemo-door",
                        "settings": {
                            "network": "tcp,udp",
                            "followRedirect": true
                        }
                    }
                ],
chika0801 commented 12 months ago

你的问题,我不能帮助你。