mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 10:01:30 +00:00
fbc475ce6b
- Add Systemd user unit files - Security improvements to system unit files - Update the refrence config.json according to the manual
46 lines
712 B
JSON
46 lines
712 B
JSON
{
|
|
"log": {
|
|
"level": "info"
|
|
},
|
|
"dns": {
|
|
"servers": [
|
|
{
|
|
"address": "tls://8.8.8.8"
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"type": "shadowsocks",
|
|
"listen": "::",
|
|
"listen_port": 8080,
|
|
"tcp_fast_open": true,
|
|
"tcp_multi_path": true,
|
|
"sniff": true,
|
|
"network": "tcp",
|
|
"method": "2022-blake3-aes-128-gcm",
|
|
"password": "8JCsPssfgS8tiRwiMlhARg==",
|
|
"multiplex": {
|
|
"enabled": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "direct"
|
|
},
|
|
{
|
|
"type": "dns",
|
|
"tag": "dns-out"
|
|
}
|
|
],
|
|
"route": {
|
|
"rules": [
|
|
{
|
|
"protocol": "dns",
|
|
"outbound": "dns-out"
|
|
}
|
|
]
|
|
}
|
|
}
|