Open mailinglists35 opened 3 years ago
Does this mean none of the peers router managed to create a reliable nat udp mapping?
And if yes, is there anyway a cheat like this can be implemented?:
Manually specify a binding UDP PORT and IP address as arguments to ww to tell the peer to connect to (so you tell the peer, "look, here is an IP and PORT where you should attempt to get the SCTP data stream from") And before that I do some socat and ssh with port forwarding to some same geographical area server where I have access so I can force the traffic through that? (since ssh cannot do UDP which is required for SCTP, socat can be used to convert to/from tcp <-> udp)
what do you think?
Does this mean none of the peers router managed to create a reliable nat udp mapping?
that's correct. that's the case with some enterprise nats. aka symmetric nat or "endpoint-dependent mapping" in the naming from rfc4787. there's unfortunately not much we can do to traverse them automatically.
home router with proper nat-pmp and upnp support.
aside: this (i.e. webrtc) only uses stun, which only relies on the nat table being "well-behaved". nat-pmp and upnp are unnecessary and aren't used at all.
Manually specify a binding UDP PORT and IP address as arguments to ww to tell the peer to connect to
interesting idea! i think it might be worth a try. especially if it's just a matter of injecting a remote candidate in one peer to try.
that said, i'd like to spend some time looking into why the relay server is slow for some. there's reason why it should be since it's well connected and lightly loaded.
why the relay server is slow for some.
probably long distance links and higher chances udp traffic being treated different at some router across the route?
I can setup a iperf3 server if you want to dig it for this particular case. If you think you have good bandwidth at the relay server then I suspect the cause is either the traffic going from europe to us and back and/or maybe not guaranteed udp throughput at my isp?
This is a discussion question, not a bug.
I tried sending and immediately remarked that throughput is very slow.
Found out the traffic goes via the relay and not between peers.
Does this mean none of the peers router managed to create a reliable nat udp mapping?
I tried again with a different peer and it worked. But the first peer always got relayed and never managed to do direct link. I am behind enterprise Fortigate firewall and peer is behind some other enterprise firewall. The second test peer that got
connected: direct
is behind a home router with proper nat-pmp and upnp support.