mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-26 12:23:12 +03:00
40 lines
694 B
JSON
40 lines
694 B
JSON
{
|
|
"log": {
|
|
"level": "error"
|
|
},
|
|
"dns": {
|
|
"servers": [
|
|
{
|
|
"type": "local",
|
|
"tag": "default"
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"type": "snell",
|
|
"tag": "snell-in",
|
|
"listen": "::",
|
|
"listen_port": 8443,
|
|
"psk": "your-secret-psk",
|
|
"version": 4, // 4 | 5 (server supports v4/v5 only)
|
|
"network": ["tcp", "udp"]
|
|
// "obfs": {
|
|
// "mode": "tls", // tls | http
|
|
// "host": "bing.com"
|
|
// }
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "direct",
|
|
"tag": "direct"
|
|
}
|
|
],
|
|
"route": {
|
|
"final": "direct",
|
|
"default_domain_resolver": "default",
|
|
"auto_detect_interface": true
|
|
}
|
|
}
|