From 45a1fe8228fb72c0e54c40b11919aa6e0375167a Mon Sep 17 00:00:00 2001 From: HystericalDragon <138737572+HystericalDragon@users.noreply.github.com> Date: Sun, 16 Jul 2023 19:47:16 +0800 Subject: [PATCH] Update wireguard.md https://github.com/XTLS/Xray-core/commit/ccba465590c126210fb3de302de4a410aec69690 --- docs/config/outbounds/wireguard.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/config/outbounds/wireguard.md b/docs/config/outbounds/wireguard.md index f2dc5aa4b..8056a25e3 100644 --- a/docs/config/outbounds/wireguard.md +++ b/docs/config/outbounds/wireguard.md @@ -24,6 +24,7 @@ } ], "mtu": 1420, // optional, default 1420 + "reserved": [1, 2, 3], "workers": 2 // optional, default runtime.NumCPU() } ``` @@ -42,11 +43,15 @@ Wireguard 会在本地开启虚拟网卡 tun。使用一个或多个 IP 地址 > `mtu`: int -Wireguard 底层 tun 的分片大小 +Wireguard 底层 tun 的分片大小。 + +> `reserved` \[ number \] + +Wireguard 保留字节。 > `workers`: int -Wireguard 使用线程数 +Wireguard 使用线程数。 > `peers`: \[ [Peers](#peers) \]