Browse Source

Add shadowsocks 2022 udp over tcp example

世界 3 years ago
parent
commit
187bd619e4
1 changed files with 36 additions and 0 deletions
  1. 36 0
      Shadowsocks-2022/README.md

+ 36 - 0
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