You can run a DDraceNetwork server (DDNet) on your own VPS with ZapX. DDNet is not yet included in the Game Server Installer, so you’ll need to set up the server manually. It’s quick and easy: DDNet is open source, the server is included in the official download, and it doesn’t require Steam. This guide explains what you need, how to install and configure the server, and which port to open.
| Requirement | DDraceNetwork |
|---|---|
| Operating system | Windows Server or Linux (64-bit), e.g. Debian or Ubuntu |
| Server files | Official download from ddnet.org, includes DDNet-Server |
| Access | Windows: Remote Desktop · Linux: SSH |
DDNet is not yet available in the Game Server Installer, so you’ll need to install the server yourself. To use a different operating system, install a different template under Settings > Reinstallation. This deletes all data on your VPS. Learn more in Server Reinstallation.
- Connect to your VPS using Remote Desktop.
- Download the Windows 64-bit version from ddnet.org/downloads and extract it, for example, to
C:\GameServers\ddnet. - In the extracted folder, you’ll find the server
DDNet-Server.exeand the example configuration filedata\autoexec_server.cfg.
- Connect to your VPS using SSH.
- Download the Linux x86-64 version from ddnet.org/downloads and extract it.
- In the extracted folder, you’ll find the server
DDNet-Server.
When it starts, the server reads the autoexec_server.cfg file. The included version in the data folder also loads the myServerconfig.cfg file at the end. Add your own settings there so DDNet updates don’t overwrite them. Create myServerconfig.cfg in the DDNet user folder: %APPDATA%\DDNet on Windows or ~/.local/share/ddnet on Linux.
The most important settings, one per line:
sv_name "My DDNet Server"
sv_port 8303
sv_register 1
password ""
sv_rcon_password "<RCON-PASSWORD>"
sv_map "Tutorial"
sv_max_clients 64
| Setting | Meaning |
|---|---|
sv_name | Name shown in the server list |
sv_port | Server port. If you don’t specify one, the server selects an available port between 8303 and 8310, so set it explicitly. |
sv_register | 1 adds the server to the public server list. The example configuration uses 0. |
password | Password required to join; leave empty for an open server |
sv_rcon_password | Password for the admin console. If you don’t set one, the server generates a random password on startup and displays it in its output. |
sv_map | Map the server starts with |
sv_max_clients | Maximum number of players |
You can find all other settings in the official list of settings and commands.
On Windows, start the server with DDNet-Server.exe; on Linux, use ./DDNet-Server. On Linux, it’s best to run it in a screen session or as a systemd service so it keeps running after you log out. On Windows, create a task in Task Scheduler to run the server at system startup.
To become an admin, connect to your server in the game, press F2, and enter your RCON password. You can then run admin commands in this console.
Download the new version from ddnet.org, stop the server, and replace the files in the server folder. Your settings in myServerconfig.cfg will remain unchanged.
| Port | Protocol | Use |
|---|---|---|
| 8303 | UDP | Game (value of sv_port) |
Allow the port through your operating system’s firewall: on Windows, use the Windows Firewall (Manage Windows Defender Firewall rules); on Linux, follow the instructions in Set up a Linux firewall. Also open it in the ZapX dashboard under the Network Firewall tab for your VPS.
You can also manage the server without joining the game through the external console (Econ). It only becomes active when you set ec_port and ec_password, and by default it listens only locally on the server (ec_bindaddr localhost).
Regularly back up your myServerconfig.cfg and any custom maps. Your entire VPS is also backed up automatically every day. With an active ZapX Pass, you can restore these backups yourself and create your own. Learn more in Daily backups, restores, and restricted actions.
Find more information in the DDNet Wiki and the list of settings and commands.
Your DDNet server is now running on your VPS. To learn how to connect, see DDraceNetwork: Connect to the Server. If you have questions or need help, our support team is here for you every day! 🙂