Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows下tun服务无法直接连通其他客户端 #48

Closed
rinex20 opened this issue May 10, 2022 · 6 comments
Closed

Windows下tun服务无法直接连通其他客户端 #48

rinex20 opened this issue May 10, 2022 · 6 comments

Comments

@rinex20
Copy link

rinex20 commented May 10, 2022

v3, tun客户端,Windows平台。

服务起来后,无法直接连通其他客户端。
在本地ping一下远程服务器端网关即可解决这个问题。

是否能够增加服务启动后自动和远端网关心跳通讯一下。

@rinex20
Copy link
Author

rinex20 commented May 13, 2022

v3, tun客户端,Windows平台。

服务起来后,无法直接连通其他客户端。

在本地ping一下远程服务器端网关即可解决这个问题。

是否能够增加服务启动后自动和远端网关心跳通讯一下。

经过测试,如果加一层relay,问题有改善。relay+tls依然需要先ping一下。其他方式mtls, mwss,quic都可以改善这个问题。

@openwrt2223
Copy link

v3, tun客户端,Windows平台。

服务起来后,无法直接连通其他客户端。 在本地ping一下远程服务器端网关即可解决这个问题。

是否能够增加服务启动后自动和远端网关心跳通讯一下。

Linux下也有这个问题 @ginuerzh

@openwrt2223
Copy link

v3, tun客户端,Windows平台。

服务起来后,无法直接连通其他客户端。 在本地ping一下远程服务器端网关即可解决这个问题。

是否能够增加服务启动后自动和远端网关心跳通讯一下。

对了,如果不一直ping的话,这个问题过一段时间后又会出现,解决方法应该是增加心跳。 @ginuerzh

@openwrt2223
Copy link

v3, tun客户端,Windows平台。

服务起来后,无法直接连通其他客户端。 在本地ping一下远程服务器端网关即可解决这个问题。

是否能够增加服务启动后自动和远端网关心跳通讯一下。

v2版本的我估计也有这个问题 @ginuerzh

@ginuerzh
Copy link
Member

v3版本中已经增加了心跳包 166317a.

gost -L "tun://:0/IP:PORT?net=192.168.123.2/24&keepAlive=true&ttl=10s"

@rinex20
Copy link
Author

rinex20 commented Aug 25, 2022

v3版本中已经增加了心跳包 166317a.


gost -L "tun://:0/IP:PORT?net=192.168.123.2/24&keepAlive=true&ttl=10s"

好的,谢谢,我来试试。

@ginuerzh ginuerzh closed this as completed Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants