wgsd icon indicating copy to clipboard operation
wgsd copied to clipboard

Qustion about sometimes p2p fails

Open BenSYZ opened this issue 1 year ago • 2 comments

Hi jwhited!

The plugin is really helpful, thanks for your great work! But I met a problem that sometimes p2p fails.

Like what you described in your blog, I have a server and two clients. The NAT types of the two clients are restrict NAT and full cone for each. For most time the UDP hole punching do work. But sometimes, the two peers are failed to communicate from each other and at this time, while the connection between server and each two clients is still OK. So at this time, I have to change the ListenPort of two client, and try to re-punch. Sometimes, the disconnection don't happen in days, but sometimes, it happens in hours, which really make me frustrated. Do you have any ideas about the problem? And how can I fixed it? Is it related to my ISP?

BenSYZ avatar Jun 21 '24 14:06 BenSYZ

I think it's related to DNS caching,

LeeTeng2001 avatar Mar 06 '25 08:03 LeeTeng2001

I think it's related to DNS caching,

Hi LeeTeng, I don't quite understand. In my mind, DNS is used for mapping from domain name to IP address, but there is no such mapping, I use IP address directly in my config file.

BenSYZ avatar Mar 25 '25 02:03 BenSYZ