nat_traversal icon indicating copy to clipboard operation
nat_traversal copied to clipboard

cannot connect

Open gitkeidy opened this issue 7 years ago • 5 comments

'time out, not connected' I try to connect two hosts behind Symmetric NAT, but failed.

gitkeidy avatar Jun 04 '17 12:06 gitkeidy

Yeah, it's not easy to connect two hosts behind Symmetric NAT. If you read the paper I mentioned in README, this method is to punch many holes on one side, then wish other side can run into one hole, so the success rate is low.

jflyup avatar Jun 05 '17 01:06 jflyup

me too

wsgtrsys avatar Nov 04 '17 13:11 wsgtrsys

Sorry, dude, I'm busy these day. I'll try to improve success rate later.

jflyup avatar Nov 07 '17 07:11 jflyup

i have read the paper and your implemented code, i found some about how to deal variety of mapping port rule in Symmetric NAT is so unclear, example : incremental algorithm NAT VS randomly algorith NAT . Just you saying, two side are looked like randomly punch, so the success rate is low.

bigcai avatar Apr 04 '19 15:04 bigcai

Improvement : I think its better to add heart beat function where client will send keep alive messages continuously to server

melsonmascarenhas avatar Jun 16 '23 18:06 melsonmascarenhas