From c00ff295e368749f5f77dfff029664d6ff109816 Mon Sep 17 00:00:00 2001 From: RSJWY <89680901+RSJWY@users.noreply.github.com> Date: Tue, 15 Oct 2024 11:06:12 +0800 Subject: [PATCH] Update config-file.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加vpn-portal(wg)的配置信息 --- guide/network/config-file.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/guide/network/config-file.md b/guide/network/config-file.md index 6eed42c..94929cd 100644 --- a/guide/network/config-file.md +++ b/guide/network/config-file.md @@ -60,6 +60,13 @@ cidr = "10.0.1.0/24" [[proxy_network]] cidr = "10.0.2.0/24" +#wg配置信息 +[vpn_portal_config] +#VPN客户端所在的网段,下面为示例 +client_cidr = "10.14.14.0/24" +#wg所监听的端口(请勿和listeners的wg冲突) +wireguard_listen = "0.0.0.0:11012" + [flags] # 连接到对等节点使用的默认协议 default_protocol = "tcp"