HostRelay


What are relays?

Relays allow users who would otherwise be unable to connect to each other to do just that.
The more relays and more diversity of regions we have - the better the experience will be - and we thank you for being interested in hosting an running a relay server!

Setting up a relay is real quick and should take 10 minutes or less! If you need help, reach out to us in our Discord!

 NOTE: Exact steps and available packages may vary by Linux distro

Step 1: Install pre-requesites

GeneralsOnline relays require the Microsoft .NET Runtime v8 to be installed on your system.



Step 2: Install relay for your OS and architecture

Windows on x64
Windows on ARM64
Linux on x64
Linux on ARM64


Step 3: Configure firewall & network

Firewall & security software varies between OS, Distro and even cloud provider. As such, we do not provide specific instructions but instead provide a list of required ports.

Inbound
UDP: Any port of your choice



Outbound
TCP: 80
TCP: 443
UDP: 3075
TCP: 9000


Step 4: Configure Relay

Run the relay executable (GeneralsOnlineRelay[.exe]) once manually to be presented with the first time setup menu. Complete each field, and then exit the relay process.

Display Name: This is cosmetic and is only shown on the Relays page on our website.

Port: This is a UDP port of your choice. It must be equivalent to the port you opened in the firewall and network configuration step prior.

Max Players: How many players should be allowed to connect to your relay?

Location: This is cosmetic and is only shown on the Relays page on our website. Locations used for connections are detected automatically.

Flag: This is cosmetic and is only shown on the Relays page on our website. We use the ISO-3166-1 alpha-2 code system for countries. You can view an entire list here


Step 5: Run the relay!

Run the relay executable (GeneralsOnlineRelay[.exe]) again, either directly or using your preferred solution to run in the background (e.g. nohup) or as a service.

Your relay should now be visible on the Relays page on our website and players will be able to utilize it.

We thank you again for helping our the C&C community by providing this relay server.


GeneralsOnline – A Modern, re-implementation of Command & Conquer Generals Online.