How to Set Up an Arma Reforger Dedicated Server on Linux.
Prerequisites
- Ubuntu 22.04 or a similar Debian-based Linux distribution (root or sudo access required).
- At least 8 GB RAM recommended.
- Minimum 20 GB free disk space.
- Steam account (optional, can login anonymously).
- Make sure UDP port 2302 is open on your firewall and router.
Step 1: Prepare Your Linux Server
Connect via SSH or open your terminal.
- Update your system packages:
bash sudo apt update && sudo apt upgrade -y
- Install required dependencies and libraries (including 32-bit libs):
bash sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y wget curl lib32gcc-s1 lib32stdc++6 lib32z1 unzip screen ufw
screen
will allow you to run the server in a detachable session.
Step 2: Install SteamCMD
- Create a folder for SteamCMD:
bash mkdir ~/steamcmd
cd ~/steamcmd
- Download SteamCMD:
bash wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
- Extract it:
bash tar -xvzf steamcmd_linux.tar.gz
- Launch SteamCMD:
bash ./steamcmd.sh
You’ll enter the SteamCMD prompt to run commands in the next step.
Step 3: Download the Arma Reforger Dedicated Server
- At the SteamCMD prompt, log in anonymously:
nginx login anonymous
- Set the installation directory (create it if needed):
bash force_install_dir ~/arma_reforger_server
- Download the Arma Reforger dedicated server (App ID: 1918700):
bash app_update 1918700 validate
- Wait for the download to finish.
- Exit SteamCMD:
nginx quit
Step 4: Configure Your Server
- Change directory to the server folder:
bash cd ~/arma_reforger_server
- Create or edit the configuration file
server.cfg
:
bash nano server.cfg
- Example minimal configuration:
cfg hostname="My Linux Arma Reforger Server"
password=""
maxplayers=40
port=2302
- Save and exit nano (
Ctrl+O
, Enter,Ctrl+X
).
Step 5: Open Firewall Ports
- Open UDP port 2302 on your Linux firewall (if UFW is active):
bash sudo ufw allow 2302/udp
sudo ufw reload
- Ensure your router forwards this port to your server’s internal IP address.
Step 6: Start the Server in a Screen Session
Running the server inside a screen
session lets it keep running after disconnecting.
- Start a new screen session:
bash screen -S arma_reforger
- Start the server executable:
bash ./ArmaReforgerServer -server
Note: The executable name may vary; check the server folder to confirm.
- The server will start and output logs to your terminal.
- Detach from the screen session without stopping the server by pressing
Ctrl + A
thenD
. - To reattach later:
bash screen -r arma_reforger
Step 7: Connect and Test
- On your gaming PC, launch the Arma Reforger client.
- Go to the Servers tab.
- Find your server by name or connect directly using your public IP and port: cppKopiërenBewerken
your.public.ip.address:2302
- Join and play!
Bonus: Automate Server Updates
Create a script to easily update the server:
- Create
update_server.sh
:
bash nano ~/update_server.sh
- Paste this content:
bash #!/bin/bash
cd ~/steamcmd
./steamcmd.sh +login anonymous +force_install_dir ~/arma_reforger_server +app_update 1918700 validate +quit
- Make it executable:
chmod +x ~/update_server.sh
- Run it anytime to update:
bash./update_server.sh
Bonus: Auto-start Server on Boot Using systemd
- Create a systemd service file:
bash sudo nano /etc/systemd/system/arma_reforger.service
- Paste this (replace
yourusername
and paths accordingly):
[Unit]
Description=Arma Reforger Dedicated Server
After=network.target
[Service]
User=yourusername
WorkingDirectory=/home/yourusername/arma_reforger_server
ExecStart=/home/yourusername/arma_reforger_server/ArmaReforgerServer -server
Restart=always
[Install]
WantedBy=multi-user.target
- Save and exit.
- Enable and start the service:
sudo systemctl daemon-reload
sudo systemctl enable arma_reforger.service
sudo systemctl start arma_reforger.service
- Check status:
sudo systemctl status arma_reforger.service
Summary Commands
bash # Update & install dependencies
sudo apt update && sudo apt upgrade -y
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y wget curl lib32gcc-s1 lib32stdc++6 lib32z1 unzip screen ufw
# Download and extract SteamCMD
mkdir ~/steamcmd
cd ~/steamcmd
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz
# Download Arma Reforger Server with SteamCMD
./steamcmd.sh
# In SteamCMD prompt:
login anonymous
force_install_dir ~/arma_reforger_server
app_update 1918700 validate
quit
# Open UDP port 2302
sudo ufw allow 2302/udp
sudo ufw reload
# Start server inside screen session
cd ~/arma_reforger_server
screen -S arma_reforger
./ArmaReforgerServer -server
# Detach with Ctrl+A then D
# Reattach with screen -r arma_reforger