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 - -