Log inSign up

Bring an Enemy Territory server online with ET: Legacy

Download the 64 bit ET: Legacy Linux release into an etl user home, add the three original pak files from the free Enemy Territory 2.60b release to etmain, and start etlded.x86_64 with +set fs_game legacy and your own server config. Open UDP port 27960 and wrap the command in a systemd unit, and the server lists itself on the master server for players of both ET: Legacy and the classic 2.60b client.

Topic: Game and voice servers · Tested on: Ubuntu 24.04 and 22.04, Debian 12 and 13 · Updated 2026-12-03

What is ET: Legacy and what does the server need?

ET: Legacy is an open source project that keeps Wolfenstein: Enemy Territory alive with a maintained engine and the legacy mod, which fixes old bugs and adds admin tools while staying compatible with the classic game. The engine is light by modern standards: one fast vCPU and 1 GB of memory host a full 20 player server, and a second vCPU helps when you also run a voice server or several instances. The High Frequency plans suit this kind of single threaded engine.

You need Ubuntu 24.04 or 22.04, or Debian 12 or 13, a sudo user (see first SSH session) and the original game data files, which are free to download. The game servers overview helps you place the server near your players.

How do you install the ET: Legacy server files?

Create an account for the server, so it never runs as root, and switch to it:

sudo apt update && sudo apt install -y curl tar unzip
sudo adduser --disabled-password --gecos "" etl
sudo -iu etl

On the ET: Legacy download page, copy the link of the Linux 64 bit tar.gz archive for the current stable release and unpack it:

URL="paste-the-linux-x86_64-tar.gz-link-here"
curl -L -o etlegacy.tar.gz "$URL"
mkdir -p ~/etlegacy
tar -xzf etlegacy.tar.gz -C ~/etlegacy --strip-components=1
ls ~/etlegacy ~/etlegacy/legacy ~/etlegacy/etmain

You should see the server binary etlded.x86_64 (older releases call it etlded), the legacy folder with the mod files and an etmain folder with sample config files such as etl_server.cfg. Check the binary starts:

~/etlegacy/etlded.x86_64 +set dedicated 2 +quit

Where do the original game data files come from?

The maps, models and sounds are not part of ET: Legacy; they come from the original game, which has been free to download since its release. The server needs three files in etmain:

pak0.pk3
pak1.pk3
pak2.pk3

If you already have Enemy Territory installed on a desktop, copy those files from its etmain folder with scp. Otherwise, the ET: Legacy self installing .sh package from the same download page offers to fetch them during setup. Either way, place them under ~/etlegacy/etmain/ and check their sizes:

ls -lh ~/etlegacy/etmain/pak*.pk3

pak0.pk3 is by far the largest, a few hundred megabytes; the other two are small patch files.

How do you write your own server config?

Copy the shipped sample into the server home path so upgrades never overwrite your changes, then edit the copy:

mkdir -p ~/.etlegacy/legacy
cp ~/etlegacy/etmain/etl_server.cfg ~/.etlegacy/legacy/server.cfg
nano ~/.etlegacy/legacy/server.cfg

The values to set first:

set sv_hostname "^1Example ^7Objective Server"
set sv_maxclients "20"
set g_password ""
set rconpassword "a-long-random-rcon-secret"
set refereePassword "a-referee-secret"
set g_gametype "4"
set sv_allowDownload "1"
set sv_wwwDownload "1"
set sv_wwwBaseURL "https://maps.example.net"
  • g_gametype chooses the mode: 2 single objective, 3 stopwatch, 4 campaign, 6 map voting.
  • rconpassword unlocks remote console commands; keep it long and private.
  • The sv_www lines send custom maps to players over HTTPS instead of the slow in game transfer. Serve the folder with any web server; Caddy HTTPS handles it in a few lines.

The end of the sample file starts the map rotation by executing one of the cycle files in etmain (for example campaigncycle.cfg or objectivecycle.cfg). Copy the cycle file you use into ~/.etlegacy/legacy/ as well if you want to edit the map list.

How do you start the server and run it with systemd?

Test the full command in the foreground first:

cd ~/etlegacy
./etlded.x86_64 +set dedicated 2 +set fs_game legacy \
  +set fs_homepath /home/etl/.etlegacy +set net_port 27960 \
  +exec server.cfg

dedicated 2 registers with the master server so the game appears in the in game browser; use 1 for a LAN style private server. When the first map loads, press Ctrl+C and type exit to return to your sudo account. Create the service:

sudo tee /etc/systemd/system/etlegacy.service >/dev/null <<'EOF'
[Unit]
Description=ET: Legacy dedicated server
After=network-online.target
Wants=network-online.target

[Service]
User=etl
Group=etl
WorkingDirectory=/home/etl/etlegacy
ExecStart=/home/etl/etlegacy/etlded.x86_64 +set dedicated 2 +set fs_game legacy +set fs_homepath /home/etl/.etlegacy +set net_port 27960 +exec server.cfg
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now etlegacy
sudo ss -lnup | grep 27960

The ss line should show the server bound to UDP 27960.

Which firewall rule lets players in?

Enemy Territory runs entirely over UDP, on 27960 by default. Add one port per extra instance (27961, 27962 and so on).

sudo ufw allow OpenSSH
sudo ufw allow 27960/udp
sudo ufw enable
sudo ufw status

Players type /connect 198.51.100.24 in the game console, or /connect et.example.net once you add an A record (see DNS records). For nftables, follow firewall rules.

How do you administer a running server?

Admins work through rcon from the game console. Log in once per session and send commands:

/rconpassword a-long-random-rcon-secret
/rcon status
/rcon map oasis
/rcon kick 3
/rcon g_password "scrim-tonight"

The referee password gives trusted players a lighter set of powers, such as starting matches, swapping teams and pausing, without full rcon. Server output, including chat and connections, is in the journal:

journalctl -u etlegacy -f

How do you add maps and upgrade ET: Legacy?

Custom maps are .pk3 files. Put them in /home/etl/.etlegacy/legacy/ (owned by etl) and in your download folder for sv_wwwBaseURL, add them to your cycle file, then restart the service. Keep the map count reasonable: every pk3 on the server is offered to clients that lack it.

To upgrade, download the new release, unpack it over ~/etlegacy with the same tar line and restart. Your config and maps stay in ~/.etlegacy, which the archive does not touch. Back that folder up before upgrades; the daily backups add-on keeps a full copy as well.

sudo systemctl stop etlegacy
sudo -u etl tar -czf /home/etl/etl-home-$(date +%F).tgz -C /home/etl .etlegacy
sudo systemctl start etlegacy

Why does the server not appear or players fail to join?

  • Missing pak files: the journal reports that it cannot find pak0.pk3. Check the files sit in etmain with exact lower case names.
  • Not in the server list: confirm dedicated 2 and that UDP 27960 is open; registration can take a few minutes.
  • Players stuck downloading: set up sv_wwwBaseURL so maps come over HTTPS.
  • Config ignored: the file must be inside the fs_homepath mod folder (~/.etlegacy/legacy) or etmain to be found by exec.

Plans that fit this guide

Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.

All prices
PlanFits becauseSizeMonthlyOrder from
F1-1one public 20 slot server1 vCPU, 1 GB RAM, 32 GB NVMe$3.60/mo$43.20 for 12 months
F1-2a server plus web downloads1 vCPU, 2 GB RAM, 64 GB NVMe$7.20/mo$43.20 for 6 months
F2-2several instances or a voice server beside it2 vCPU, 2 GB RAM, 80 GB NVMe$10.80/mo$64.80 for 6 months

Questions about ET: Legacy server

Can classic 2.60b players join an ET: Legacy server?

Yes. The legacy mod stays compatible with the original 2.60b client, which downloads the mod files on connect.

Can I run ETPro or other classic mods?

Many classic mods ship only 32 bit server libraries, which the 64 bit engine cannot load. Use the 32 bit ET: Legacy build for those, or stay with the legacy mod, which is native 64 bit.

Is the game data legal to download?

Yes. The original publisher released Enemy Territory as a free standalone game, and the ET: Legacy project points to the data files for that reason.

How many instances fit on one server?

Each instance uses little memory and part of one core. Give each its own net_port, home path and systemd unit, and open every port in the firewall.

How do I schedule a nightly restart?

Create a systemd timer or a root cron line such as 30 5 * * * systemctl restart etlegacy to restart at a quiet hour.