hole punching with dcutr and relay server fails at RemoteInitiatedDirectConnectionUpgrade stage! #4212
-
Hello. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
What is your network configuration? Are you behind a punchable NAT? Using TCP or QUIC? |
Beta Was this translation helpful? Give feedback.
-
The dialer client is a cloud server with a public address, and the listening client uses a TD LTE modem that I opened NAT through DMZ for the IP used in the modem settings. I use TCP |
Beta Was this translation helpful? Give feedback.
If your ISP uses CG-NAT (https://en.m.wikipedia.org/wiki/Carrier-grade_NAT) then it is not possible.
Hole-punching relies on tricking the intermediate NAT device into allowing inbound traffic because of an outbound packet.
If you have more than one NAT device, those would have to use stable port mappings for this to work which is usually not the case. There might be other problems I currently cannot think of.