github.com/database64128/shadowsocks-go@v1.7.0/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 "endpoint": "[2001:db8:bd63:362c:2071:a0f6:827:ab6a]:20220", 24 "protocol": "2022-blake3-aes-128-gcm", 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": "systemd-resolved", 52 "addrPort": "127.0.0.53:53", 53 "tcpClientName": "direct", 54 "udpClientName": "direct" 55 } 56 ], 57 "router": { 58 "defaultTCPClientName": "ss-2022", 59 "defaultUDPClientName": "ss-2022", 60 "geoLite2CountryDbPath": "/usr/share/shadowsocks-go/Country.mmdb", 61 "domainSets": [ 62 { 63 "name": "category-ads-all", 64 "type": "gob", 65 "path": "/usr/share/shadowsocks-go/ss-go-gob-category-ads-all" 66 }, 67 { 68 "name": "private", 69 "type": "gob", 70 "path": "/usr/share/shadowsocks-go/ss-go-gob-private" 71 }, 72 { 73 "name": "cn", 74 "type": "gob", 75 "path": "/usr/share/shadowsocks-go/ss-go-gob-cn" 76 }, 77 { 78 "name": "geolocation-!cn@cn", 79 "type": "gob", 80 "path": "/usr/share/shadowsocks-go/ss-go-gob-geolocation-!cn@cn" 81 } 82 ], 83 "routes": [ 84 { 85 "name": "ads", 86 "client": "reject", 87 "toDomainSets": [ 88 "category-ads-all" 89 ] 90 }, 91 { 92 "name": "direct", 93 "client": "direct", 94 "resolver": "cf-v6", 95 "toDomainSets": [ 96 "private", 97 "cn" 98 ], 99 "toPrefixes": [ 100 "0.0.0.0/8", 101 "10.0.0.0/8", 102 "100.64.0.0/10", 103 "127.0.0.0/8", 104 "169.254.0.0/16", 105 "172.16.0.0/12", 106 "192.0.0.0/24", 107 "192.0.2.0/24", 108 "192.88.99.0/24", 109 "192.168.0.0/16", 110 "198.18.0.0/15", 111 "198.51.100.0/24", 112 "203.0.113.0/24", 113 "224.0.0.0/3", 114 "::1/128", 115 "fc00::/7", 116 "fe80::/10" 117 ], 118 "toGeoIPCountries": [ 119 "CN" 120 ] 121 }, 122 { 123 "name": "cn-verify-ip", 124 "client": "direct", 125 "resolver": "systemd-resolved", 126 "toDomainSets": [ 127 "geolocation-!cn@cn" 128 ], 129 "toMatchedDomainExpectedGeoIPCountries": [ 130 "CN" 131 ] 132 } 133 ] 134 } 135 }