EA has not endorsed and does not support this product.

Commandory by Team Pandory

Welcome back online, Commander.

Host a Commandory community relay

Run a relay on a Debian PC, VPS or home server. Players keep using the Commandory website and original game assets. Community relays have PTT and notifications disabled.

Download the relay setup kit and source. It includes a Dockerfile for Podman/Docker, nginx configuration, certificate helper and detailed Debian instructions in deploy/community/SETUP.md. The container builds locally; no prebuilt image or game assets are required.

Windows home relay

Download the standalone Windows x64 ZIP. Extract it and double-click commandory-relay.exe. It includes its own TLS support; Rust, Docker, nginx and OpenSSL are not required.

Choose your LAN address on first launch. The host setup page opens with certificate-trust and private-network firewall buttons. Scan its QR code from each phone/tablet, install the certificate using the device instructions, then tap Open Commandory. The relay creates unique private keys for your installation and keeps them on your computer.

Keep the console window open while playing. The host page offers Start relay and Stop games. Closing the program loses active matches. The executable is unsigned; Windows runtime and physical mobile certificate setup still need device verification.

Linux standalone relay

Download the Linux x86_64 AppImage. Mark it executable and launch it. It uses the same TLS and QR onboarding flow as Windows.

chmod +x Commandory-Relay-x86_64.AppImage
./Commandory-Relay-x86_64.AppImage

If FUSE is unavailable, add --appimage-extract-and-run. The relay inside is a static musl build. Certificate trust and local firewall setup follow your Linux distribution/browser instructions; no root access is needed to run the relay.

Debian quickstart

tar -xzf community-relay-kit.tar.gz
cd commandory-community-relay
sudo apt update
sudo apt install podman nginx openssl python3 curl git
sudo podman build -f deploy/community/Dockerfile -t commandory-community-relay .
sudo ./tools/run_community_relay.sh
curl --fail http://127.0.0.1:8090/health

The first build downloads the compiler image and locked dependencies. The container listens only on the host's loopback port 8090. nginx supplies the secure connection players use.

Public server or your own SSL certificate

Use a hostname you control and a trusted certificate. Put its full certificate chain at /etc/commandory-relay/tls/server.crt and private key at /etc/commandory-relay/tls/server.key, or change the paths in the nginx example. Keep the private key root-owned and mode 0600. Keep managed certificates renewed and reload nginx after renewal.

Home LAN with a custom certificate

Reserve the server's LAN address in your router. Replace the example IP below with that address. This creates a private certificate authority and a server certificate covering the hostname and IP.

sudo ./tools/make_relay_certificate.sh /etc/commandory-relay/tls relay.home.arpa 192.168.1.50

Install and trust only ca.crt on each participating device. Never share ca.key or server.key. iPhone/iPad also require full trust for a manually installed root certificate. Browser support and local-network permissions vary; test each device. Do not disable browser security or rely on bypassing certificate warnings.

No router port forwarding is needed for LAN-only games. Keep host firewall access limited to your LAN. These players still need the Commandory website and asset delivery; this is not an offline edition.

Enable TLS

Edit deploy/community/nginx.conf to match your hostname or LAN IP and certificate paths, then install it. Merge its locations into an existing TLS virtual host if you already have one.

sudo cp deploy/community/nginx.conf /etc/nginx/sites-available/commandory-relay
sudo ln -s /etc/nginx/sites-available/commandory-relay /etc/nginx/sites-enabled/commandory-relay
sudo nginx -t
sudo systemctl reload nginx
sudo systemctl enable --now podman-restart.service nginx.service

Allow TCP 443 through the appropriate host firewall. Public hosting also needs the router/firewall to route it to nginx. Do not expose raw port 8090.

Join from Commandory

Open Multiplayer, choose Add server, enter a name and wss://your-relay.example/rooms, then Save and connect. For a private IP, tick LAN server and use an address such as wss://192.168.1.50/rooms. Allow local-network access if your browser asks. Create a game and share its normal invite or QR code; the relay address is included.

The default browser Origin allowlist already permits https://commandory.teampandory.com. A relay address is saved only in that browser. Its operator can see connection IPs, chat and relayed game traffic, and can disconnect games. An invite does not change your preferred server.

Maintenance

Read the kit's setup guide for Docker, certificate trust, logs, updating and troubleshooting. Matches live in memory, so wait for them to finish before restarting or updating the container.

Return to Commandory

Command & Conquer, Red Alert and Tiberian Sun are trademarks of Electronic Arts Inc.
Developed with respect for EA’s modding guidelines.
IBM VGA font by VileR, CC BY-SA 4.0. Font licence