From 187bd619e4f6a1d005f292d7996eddd1d411d455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 1 Jun 2022 11:21:40 +0800 Subject: [PATCH] Add shadowsocks 2022 udp over tcp example --- Shadowsocks-2022/README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/Shadowsocks-2022/README.md b/Shadowsocks-2022/README.md index 86fb9c2..ec6550f 100644 --- a/Shadowsocks-2022/README.md +++ b/Shadowsocks-2022/README.md @@ -87,6 +87,42 @@ } ``` +客户端 JSON (UDP over TCP) + +```json +{ + "inbounds": [ + { + "port": 10801, + "protocol": "socks", + "settings": { + "udp": true + } + }, + { + "port": 10802, + "protocol": "http" + } + ], + "outbounds": [ + { + "protocol": "shadowsocks", + "settings": { + "servers": [ + { + "address": "{{ host }}", + "port": 1234, + "method": "2022-blake3-aes-128-gcm", + "password": "{{ psk }}", + "uot": true + } + ] + } + } + ] +} +``` + 客户端 JSON (多用户) ```json