1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
| cat <<EOF >config.json { "log": { "level": "info", "timestamp": true }, "route": { "rules": [ { "geosite": [ "cn", "private" ], "geoip": [ "cn", "private" ], "outbound": "direct" } ] }, "inbounds": [ { "type": "mixed", "tag": "mixed-in", "listen": "::", "listen_port": 10000 } ], "outbounds": [ { "type": "shadowsocks", "tag": "proxy", "detour": "shadowtls-out", "method": "2022-blake3-aes-128-gcm", "password": "3P+xaSaFiXsrQ1KCr2Xvxg==", "udp_over_tcp": { "enabled": false, "version": 2 }, "multiplex": { "enabled": true, "protocol": "h2mux", "max_connections": 4, "min_streams": 4, "padding": true } }, { "type": "shadowtls", "tag": "shadowtls-out", "server": "s2.gocoin.one", "server_port": 8448, "version": 3, "password": "chika", "tls": { "enabled": true, "server_name": "www.bing.com", "utls": { "enabled": true, "fingerprint": "chrome" } } }, { "type": "direct", "tag": "direct" } ] } EOF
|