github.com/sagernet/sing-box@v1.9.0-rc.20/release/config/config.json (about)

     1  {
     2    "log": {
     3      "level": "info"
     4    },
     5    "dns": {
     6      "servers": [
     7        {
     8          "address": "tls://8.8.8.8"
     9        }
    10      ]
    11    },
    12    "inbounds": [
    13      {
    14        "type": "shadowsocks",
    15        "listen": "::",
    16        "listen_port": 8080,
    17        "sniff": true,
    18        "network": "tcp",
    19        "method": "2022-blake3-aes-128-gcm",
    20        "password": "8JCsPssfgS8tiRwiMlhARg=="
    21      }
    22    ],
    23    "outbounds": [
    24      {
    25        "type": "direct"
    26      },
    27      {
    28        "type": "dns",
    29        "tag": "dns-out"
    30      }
    31    ],
    32    "route": {
    33      "rules": [
    34        {
    35          "protocol": "dns",
    36          "outbound": "dns-out"
    37        }
    38      ]
    39    }
    40  }