Conversation
|
why do we need wg keepalive? |
|
|
currently, hole punching does not support wireguard. even after supported, the keepalive is sent by easytier instead of wireguard tunnel itself, which can have a more flexible strategy. |
|
and more the file you changes is regarded to vpn portal which normally cannot be used behind a NAT |
|
要加PersistentKeepalive = 25 不然会断联 |
|
每次有流量的时候 Client 会重连吧。现在断连了会无法重连么 @lmq8267 |
|
我用的原生的wg 还有tunsafe 是不会连接 加了PersistentKeepalive = 25 才能一直连接 |
啥场景需要一直连接呢,wg 握手很快,有流量的时候再握手好像更合适? |
|
断了 它好像不会握手 ,我隔一段时间没有使用 就断了 连不上了要重新启动了,但是加了这个 隔一段时间 用 还能连接 |
要重新启动,指的是要重启 wg client 的 app 么。tunsafe 和 wireguar client 都是这样么 |
|
是的 要重新启动客户端才能连上 手机wg客户端 tunsafe都是一样 |
你经常使用wg就知道了。合上电脑或熄屏后网络会断开,后面就无法再连接上wg服务端节点了,使用这个PersistentKeepalive后会让客户端与wg服务端节点经常保持连接沟通。 |
|
这个Safe3服务器 也默认加了这个 |
|
类似网络心跳功能。但如果服务端来做心跳,可能客户端已无法连接了,服务端的心跳是无效的。还是客户端的心跳靠谱! |
|
嗯嗯。我确实不常用 wg,既然你说的这个场景客户端会出问题,那确实有这个参数比较合适。我 approve ci 了,过了合入 |
* add config generator * update install windows service
No description provided.