From afec9af445ecb8961c9657284ece93bbe85f4125 Mon Sep 17 00:00:00 2001 From: bjdgy Date: Sat, 16 Mar 2024 21:42:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E9=99=A4=E5=87=BA=E5=8F=A3ip=E8=B7=AF?= =?UTF-8?q?=E7=94=B1(=E5=87=BA=E5=8F=A3ip=E4=B8=8D=E5=8A=A0=E5=AF=86?= =?UTF-8?q?=E4=BC=A0=E8=BE=93)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/conf/server-sample.toml | 4 +++- server/conf/server.toml | 1 + yarn.lock | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 yarn.lock diff --git a/server/conf/server-sample.toml b/server/conf/server-sample.toml index 8dd5ed1..726ba39 100644 --- a/server/conf/server-sample.toml +++ b/server/conf/server-sample.toml @@ -47,6 +47,7 @@ proxy_protocol = false link_mode = "tun" #客户端分配的ip地址池 +#docker环境一般默认 eth0,其他情况根据实际网卡信息填写 ipv4_master = "eth0" ipv4_cidr = "192.168.90.0/24" ipv4_gateway = "192.168.90.1" @@ -100,4 +101,5 @@ no_compress_limit = 256 #客户端显示详细错误信息(线上环境慎开启) display_error = false - +#排除出口ip路由(出口ip不加密传输) +exclude_export_ip = true diff --git a/server/conf/server.toml b/server/conf/server.toml index cf8e55d..5be6e21 100644 --- a/server/conf/server.toml +++ b/server/conf/server.toml @@ -40,6 +40,7 @@ max_user_client = 3 #虚拟网络类型[tun macvtap] link_mode = "tun" #客户端分配的ip地址池 +#docker环境一般默认 eth0,其他情况根据实际网卡信息填写 ipv4_master = "eth0" ipv4_cidr = "192.168.90.0/24" ipv4_gateway = "192.168.90.1" diff --git a/yarn.lock b/yarn.lock deleted file mode 100644 index fb57ccd..0000000 --- a/yarn.lock +++ /dev/null @@ -1,4 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - -