配置一直不成功,请问服务器端是下面的代码,安卓sing-box客户端该怎样配置啊?
{
"log": {
"level": "warn",
"timestamp": true
},
"inbounds": [
{
"type": "naive",
"tag": "naive-in",
"network": "tcp",
"listen": "::",
"listen_port": 2345, //监听端口
"tcp_fast_open": true,
"sniff": true,
"sniff_override_destination": true,
"users": [
{
"username": "xiao001", //用户名
"password": "xiao123" //密码
}
],
"tls": {
"enabled": true,
"server_name": "mydomain.com", //你的域名
"acme": {
"domain": [
"mydomain.com" //你的域名
],
"data_directory": "/usr/local/etc/sing-box",
"email": "email@gmail.com",
"provider": "letsencrypt"
}
}
}
],
"outbounds": [
{
"type": "direct",
"tag": "direct"
},
{
"type": "block",
"tag": "block"
}
]
} |