Docs / Game Servers / How to Set Up a Killing Floor 2 Server

How to Set Up a Killing Floor 2 Server

By Admin · Mar 1, 2026 · Updated Apr 23, 2026 · 25 views · 2 min read

Setting Up a Killing Floor 2 Server

Killing Floor 2 is a cooperative first-person shooter where teams fight waves of enemies. Running a dedicated server on your Breeze enables custom maps, mutators, and wave configurations for your community.

Install via SteamCMD

steamcmd +login anonymous +force_install_dir /home/steam/kf2 +app_update 232130 validate +quit

Initial Launch

Run the server once to generate default configuration files:

cd /home/steam/kf2/Binaries/Win64
wine KFGameSteamServer.bin.x86_64 kf-bioticslab

Stop the server after configuration files are generated.

Configure the Server

Edit KFGame/Config/LinuxServer-KFGame.ini:

[Engine.GameReplicationInfo]
ServerName=My Breeze KF2 Server

[KFGame.KFGameInfo]
GameLength=1
Difficulty=2
bDisableMapVote=false
MaxPlayers=6

Set the Admin Password

Edit LinuxServer-KFEngine.ini:

[Engine.AccessControl]
AdminPassword=your_admin_password

Firewall Rules

sudo ufw allow 7777/udp
sudo ufw allow 27015/udp
sudo ufw allow 8080/tcp
sudo ufw allow 20560/udp

Run as a Service

sudo tee /etc/systemd/system/kf2.service <<EOF
[Unit]
Description=Killing Floor 2 Server
After=network.target

[Service]
User=steam
WorkingDirectory=/home/steam/kf2
ExecStart=/home/steam/kf2/Binaries/Win64/KFGameSteamServer.bin.x86_64 kf-bioticslab?difficulty=2?maxplayers=6
Restart=on-failure

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable --now kf2

Access the web admin panel at http://your-breeze-ip:8080 to manage maps, game modes, and players in real time.

Was this article helpful?