Relay
Hc_Sephiroth
Member Posts: 10
What does the "relay" mean after ip address? Used to be "nat"
0
Comments
It doesn't have any implications. The connection process is always the same: a direct connect with a nat punch first, regardless of what was detected.
relays are the last-resort fallback if no direct connection with a NAT punch can be established. You can see relayed connections on the server console (Linux), in the server logfile, and via the provided scripting command. This is dependent on both your firewall/router setup, and that of the player.
Using relays will make connections more laggy due to the incurred latency of the extra hop, so if you run a persistent server, it's always best to make sure you have a direct port map to the advertised port, for example: 5121/udp external -> 5121/udp internal. That way, all clients can connect directly.
(As an aside, You can't portmap 5129/external -> 5121/internal; this is not something the masterserver can detect. The external port needs to match the one nwserver thinks it has.)