Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
1.9 kB
2
Indexable
Never
{
    "log":{
        "disabled":false,
        "level":"debug",
        "output":"/etc/sing-box/logs/box.log",
        "timestamp":true
    },
    "inbounds":[
        {
            "type":"hysteria2",
            "tag":"hysteria2-in",
            "listen":"::",
            "listen_port":8443,
            "users":[
                {
                    "password":"hysteria"
                }
            ],
            "ignore_client_bandwidth":true,
            "tls":{
                "enabled":true,
                "server_name":"",
                "alpn":[
                    "h3"
                ],
                "min_version":"1.3",
                "max_version":"1.3",
                "certificate_path":"/etc/hysteria/server.crt",
                "key_path":"/etc/hysteria/server.key"
            }
        },
        {
            "type":"shadowsocks",
            "listen":"::",
            "listen_port":12345,
            "method":"aes-256-gcm",
            "password":"Shadowsocks"
        },
        {
            "type":"vless",
            "listen":"::",
            "listen_port":2053,
            "users":[
                {
                    "uuid":"68fe8d27-cbc8-4e72-90b7-70d3bb69dfd3",
                    "flow":"xtls-rprx-vision"
                }
            ],
            "tls":{
                "enabled":true,
                "server_name":"addons.mozilla.org",
                "reality":{
                    "enabled":true,
                    "handshake":{
                        "server":"addons.mozilla.org",
                        "server_port":443
                    },
                    "private_key":"GLzN2foCb8zGUufUpkbYxvMGc8KevfAAml-tbekmEHk",
                    "short_id":[
                        ""
                    ]
                }
            }
        }
    ],
    "outbounds":[
        {
            "type":"direct"
        }
    ]
}