Server Dock

GUIDES · SHOOTERS & SOURCE · pre-fortress-2

How to host a server for Pre-Fortress 2

Dedicated Pre-Fortress 2 server managed with Server Dock (Windows · Linux). Automatic setup, live console, configs, and backups.

OS: Windows · LinuxRAM: from 2 GBDisk: from 20 GBOwner files / Steam library setup

Real-World Resource Calculator · Pre-Fortress 2

Estimate actual RAM, CPU, and disk usage for your player count, map, and cluster size.

Actual RAM needed
~2.5 GB
Spec-sheet max: 2 GB
Recommended CPU
2 vCPU
Disk (with backup headroom)
30 GB
Suggested VDS tier
VDS Starter (2 vCPU · 4 GB RAM)

For small friend groups (2–10 players), real RAM usage is often 1.5–2× lower than peak catalog numbers.

Step-by-step installation & launch guide

  1. 1. Install the Server Dock agent on your PC, Steam Deck, or Linux VPS

    Create a free account at server-dock.net. Get the installer from the Download page and run it on Windows 10/11 (x64) or Linux / VPS / Steam Deck (x86-64). In the wizard click “Подключить мой аккаунт” (Connect my account) and enter the 8-character code on the site. Python is bundled.

    # Windows (PowerShell)
    irm https://server-dock.net/install.ps1 | iex
    
    # Linux
    curl -fsSL https://server-dock.net/install.sh | bash

    All installers: Windows, Linux, Steam Deck, VDS

  2. 2. Create a "Pre-Fortress 2" server from the catalog

    Open "Games & Services" in the panel → search for "Pre-Fortress 2" → pick your device. The panel automatically verifies free memory (recommended 2 GB+ RAM) and disk space (20 GB+).

  3. 3. Automatic setup (Owner files / Steam library setup)

    Requires the owner’s game files (supports quick import from a local Steam library or upload via the Files tab).

  4. 4. Configure settings and start the server

    Set server name, password, map/world, and ports (27015 (Server Port)) in the Settings tab, then click Start. Watch real-time readiness in the live console.

  5. 5. Invite friends to join

    Open the Connection tab inside the server: forward ports (27015 (Server Port)) on your router / VPS firewall, or enable built-in Porthole, Playit, or the VPS tunnel wizard (no static IP needed). Share the 1-click invite link with friends.

Network ports · Pre-Fortress 2

For direct friend connections, forward these ports on your router or VPS Cloud Firewall. Behind CGNAT? Enable built-in Porthole, Playit, or the VPS tunnel wizard right inside Server Dock.

PurposeDefault PortDescription
Server Port27015Default server network port.

Key panel settings

SettingDefaultDescription
Server Port27015Configurable in the web panel before launch.
Max Players16Configurable in the web panel before launch.
Mapctf_2fortConfigurable in the web panel before launch.
Sv LanfalseConfigurable in the web panel before launch.
Sv Password—Configurable in the web panel before launch.
Mp Timelimit0Configurable in the web panel before launch.
Sv Region-1Configurable in the web panel before launch.
Mp AllowspectatorstrueConfigurable in the web panel before launch.
Sv Pure-1Configurable in the web panel before launch.
Sv Pure Kick ClientsfalseConfigurable in the web panel before launch.
Sv CheatsfalseConfigurable in the web panel before launch.
Sv FilterbantrueConfigurable in the web panel before launch.
Sv AllowdownloadtrueConfigurable in the web panel before launch.
Sv Downloadurl—Configurable in the web panel before launch.

Backups & saved paths

When creating a backup, Server Dock automatically archives: pf2/cfg, pf2/maps, pf2/addons.

Official documentation

Additional game parameters are documented in the official Pre-Fortress 2 documentation ↗.

Pre-Fortress 2 Server FAQ

  1. How do I host a Pre-Fortress 2 dedicated server on my own PC?

    Sign up for Server Dock, install the lightweight Windows or Linux agent, pick Pre-Fortress 2 from the catalog, and click Create. Server files and dependencies are installed automatically.

  2. What are the RAM, disk, and OS requirements for a Pre-Fortress 2 server?

    Recommended minimum: 2 GB RAM and 20 GB free disk space. Supported platforms: Windows · Linux.

  3. Which ports does Pre-Fortress 2 use, and can friends join without port forwarding?

    Default Pre-Fortress 2 ports: 27015. You can forward them on your router or enable the built-in Playit / Porthole tunnel in one click with zero router changes.

  4. Is Server Dock free for hosting a Pre-Fortress 2 server?

    Yes. Server Dock Free is free forever and keeps all Pre-Fortress 2 worlds, mods, and backups locally on your own PC or VPS.

Ready to host your Pre-Fortress 2 server?

Create a free account or sign in to Server Dock—our agent downloads Pre-Fortress 2, configures ports, and launches your world in minutes.

More guides in "Shooters & Source"