How to set relay server?

When both Swarm.RelayClient.Enabled and Swarm.RelayService.Enabled are set to true, whether the node is both client and server, or one or the other