提醒:在部署ss2022前,你最好知道配置文件中的multiplex就算打开了也不会强制使用多路复用
如果客户端不开启Mux和padding则不会生效,被封锁概率并不会低多少。
{
"dns": {
"servers": [
{
"address": "8.8.8.8"
}
]
},
"route": {
"rules": [
{
"rule_set": "geoip-cn",
"outbound": "block"
},
{
"ip_is_private": true,
"outbound": "direct"
},
{
"inbound": ["shadowsocks"],
"outbound": "direct"
}
],
"rule_set": [
{
"tag": "geoip-cn",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs"
}
]
},
"experimental": {
"cache_file": {
"enabled": true
}
},
"inbounds": [
{
"type": "shadowsocks",
"tag": "direct",
"listen": "0.0.0.0",
"listen_port": 56666,
"sniff": true,
"sniff_override_destination": true,
"method": "2022-blake3-chacha20-poly1305",
"password": "",//sing-box generate rand --base64 32
"multiplex": {
"enabled": true,
"padding": true
}
}
],
"outbounds": [
{
"type": "direct",
"tag": "direct"
},
{
"type": "block",
"tag": "block"
}
]
}