修复断线重连后的bug

添加 proxy protocol v1 的支持
This commit is contained in:
bjdgyc
2020-08-20 19:32:19 +08:00
parent eee99fcb0d
commit bb0de6690a
14 changed files with 858 additions and 50 deletions

3
conf/.gitignore vendored
View File

@@ -1,3 +0,0 @@
#过滤本地证书文件
vpn_cert.key
vpn_cert.pem

View File

@@ -10,6 +10,8 @@ cert_key = "./vpn_cert.key"
#服务监听的地址
server_addr = ":443"
debug_addr = "127.0.0.1:8800"
#开启tcp proxy protocol协议
proxy_protocol = false
#用户组
link_groups = ["one", "two"]