github.com/database64128/shadowsocks-go@v1.10.2-0.20240315062903-143a773533f1/docs/client.json (about)

     1  {
     2      "servers": [
     3          {
     4              "name": "socks5",
     5              "listen": ":1080",
     6              "protocol": "socks5",
     7              "enableTCP": true,
     8              "listenerTFO": true,
     9              "enableUDP": true,
    10              "mtu": 1500
    11          },
    12          {
    13              "name": "http",
    14              "listen": ":8080",
    15              "protocol": "http",
    16              "enableTCP": true,
    17              "listenerTFO": true
    18          }
    19      ],
    20      "clients": [
    21          {
    22              "name": "ss-2022",
    23              "protocol": "2022-blake3-aes-128-gcm",
    24              "endpoint": "[2001:db8:bd63:362c:2071:a0f6:827:ab6a]:20220",
    25              "enableTCP": true,
    26              "dialerTFO": true,
    27              "enableUDP": true,
    28              "mtu": 1500,
    29              "psk": "oE/s2z9Q8EWORAB8B3UCxw==",
    30              "iPSKs": [
    31                  "qQln3GlVCZi5iJUObJVNCw=="
    32              ]
    33          },
    34          {
    35              "name": "direct",
    36              "protocol": "direct",
    37              "enableTCP": true,
    38              "dialerTFO": true,
    39              "enableUDP": true,
    40              "mtu": 1500
    41          }
    42      ],
    43      "dns": [
    44          {
    45              "name": "cf-v6",
    46              "addrPort": "[2606:4700:4700::1111]:53",
    47              "tcpClientName": "ss-2022",
    48              "udpClientName": "ss-2022"
    49          },
    50          {
    51              "name": "system",
    52              "type": "system"
    53          }
    54      ],
    55      "router": {
    56          "defaultTCPClientName": "ss-2022",
    57          "defaultUDPClientName": "ss-2022",
    58          "geoLite2CountryDbPath": "/usr/share/shadowsocks-go/Country.mmdb",
    59          "domainSets": [
    60              {
    61                  "name": "category-ads-all",
    62                  "type": "gob",
    63                  "path": "/usr/share/shadowsocks-go/ss-go-gob-category-ads-all"
    64              },
    65              {
    66                  "name": "private",
    67                  "type": "gob",
    68                  "path": "/usr/share/shadowsocks-go/ss-go-gob-private"
    69              },
    70              {
    71                  "name": "cn",
    72                  "type": "gob",
    73                  "path": "/usr/share/shadowsocks-go/ss-go-gob-cn"
    74              },
    75              {
    76                  "name": "geolocation-!cn@cn",
    77                  "type": "gob",
    78                  "path": "/usr/share/shadowsocks-go/ss-go-gob-geolocation-!cn@cn"
    79              }
    80          ],
    81          "routes": [
    82              {
    83                  "name": "ads",
    84                  "client": "reject",
    85                  "toDomainSets": [
    86                      "category-ads-all"
    87                  ]
    88              },
    89              {
    90                  "name": "direct",
    91                  "client": "direct",
    92                  "resolver": "cf-v6",
    93                  "toDomainSets": [
    94                      "private",
    95                      "cn"
    96                  ],
    97                  "toPrefixes": [
    98                      "0.0.0.0/8",
    99                      "10.0.0.0/8",
   100                      "100.64.0.0/10",
   101                      "127.0.0.0/8",
   102                      "169.254.0.0/16",
   103                      "172.16.0.0/12",
   104                      "192.0.0.0/24",
   105                      "192.0.2.0/24",
   106                      "192.88.99.0/24",
   107                      "192.168.0.0/16",
   108                      "198.18.0.0/15",
   109                      "198.51.100.0/24",
   110                      "203.0.113.0/24",
   111                      "224.0.0.0/3",
   112                      "::1/128",
   113                      "fc00::/7",
   114                      "fe80::/10",
   115                      "ff00::/8"
   116                  ],
   117                  "toGeoIPCountries": [
   118                      "CN"
   119                  ]
   120              },
   121              {
   122                  "name": "cn-verify-ip",
   123                  "client": "direct",
   124                  "resolver": "system",
   125                  "toDomainSets": [
   126                      "geolocation-!cn@cn"
   127                  ],
   128                  "toMatchedDomainExpectedGeoIPCountries": [
   129                      "CN"
   130                  ]
   131              }
   132          ]
   133      }
   134  }