Relay mode is a mode where a server works only to redirect communication between players.


This mode is pretty useful to allow players on a private network to play online multiplayer games on a dedicated server host. Nonetheless, in this mode, one player needs to execute all game logic since the server only works to redirect communication.


This mode is especially useful to allow players behind firewalls to play online games.


On requirement to allow Relay mode is that server must be on a public network accessible to all players.


The following design illustrates how this works from a topology point of view.



To use Relay mode you must ensure that the "Relay" option is selected on NetworkManager.