GameCP Logo
UdforskBegynd at Hoste
GameCP Logo
GameCP

Den næste generation platform til spilserverstyring. Bygget til ydeevne, sikkerhed og brugervenlighed.

Produkt

  • Funktioner
  • Integrationer
  • App Store
  • Priser
  • Tilpasset Udvikling
  • Sammenlign Paneler

Ressourcer

  • Dokumentation
  • API Reference
  • Henvisningsprogram
  • Support
  • Systemstatus

Firma

  • Om
  • Kontakt

© 2026 GameCP. Alle rettigheder forbeholdes.

PrivatlivspolitikServicevilkår
The Forest gameplay

Host a The Forest Dedicated Server

As the lone survivor of a passenger jet crash, you find yourself in a mysterious forest battling to stay alive against a society of cannibalistic mutants. Build, explore, survive in this terrifying first-person survival horror simulator.

Skip the Setup — Deploy Nowor read the full guide below
RequirementsSetup GuideInstallation

Hardware Requirements

Here's what you need to run a The Forest dedicated server.

Economy

Small server, 1-4 players

CPU1.5 cores
RAM3 GB
Storage5 GB

Standard

Medium server, 4-8 players

CPU2 cores
RAM4 GB
Storage5 GB

Pro

Full server, 8-8 players

CPU3 cores
RAM6 GB
Storage5 GB

Start hosting from your own computer

Run a The Forest server on your desktop, laptop, VPS, or dedicated machine — GameCP automates Docker setup, resource allocation, and The Forest configuration instantly. Automatic port forwarding means your friends can connect without touching your router. Start local, scale to a VPS when you're ready.

Get Started FreeNo credit card required

Setup in 4 Steps

Skip the manual SteamCMD installation, port forwarding, and systemd configuration. Install on your own computer and start hosting instantly.

Step 01

Create a GameCP Account

Sign up for free at gamecp.com. No credit card required. Your dashboard is ready in seconds.

GameCP gives you a full control panel with Docker containerization, file management, automatic port forwarding, and automatic updates — all built in.

Step 02

Connect Your Hardware

Install GameCP on your own desktop, laptop, VPS, or dedicated machine. One-line install — no SSH expertise needed.

GameCP installs Docker, configures networking, and sets up automatic port forwarding so your friends can connect instantly. Start hosting from your own PC and scale to a VPS later. Supports Windows, macOS, and Linux.

Step 03

Deploy The Forest

Select "The Forest" from the template library and hit deploy. GameCP handles SteamCMD (App ID: 556450), ports, startup commands, and all configuration automatically.

Includes pre-configured config.cfg. Uses the yolks:wine_latest image. ~5 GB storage.

Step 04

Start Playing

Hit start and share your server address. Automatic port forwarding handles the rest — no router config needed.

GameCP monitors your server health and provides live logs from your browser. Your friends connect using the address GameCP gives you.

The Manual Way vs. GameCP

Manual Setup

  • ✗ Install SteamCMD manually
  • ✗ Configure 3+ firewall ports and router settings
  • ✗ Write systemd service files
  • ✗ SSH into server to edit configs
  • ✗ Requires a VPS or dedicated server
  • ✗ 30-60 minutes if experienced

With GameCP

  • One-click SteamCMD install
  • Automatic port forwarding — no router config
  • Host from your own PC, VPS, or dedicated server
  • Docker container with auto-restart
  • Visual config editor in browser
  • Under 5 minutes total

Under the Hood

The full manual process to host a The Forest dedicated server on a VPS. Or install GameCP on your own computer and skip all of this.

Step 1

Configure & Prepare

Set your server settings, then install Docker, SteamCMD, and pull the The Forest container image.

Server ConfigurationEdit values to update all commands
terminal
# Update system and install Docker
sudo apt update && sudo apt install -y docker.io
sudo systemctl enable --now docker

# Create game server directory
sudo mkdir -p /opt/gameserver

# Install SteamCMD
sudo mkdir -p /opt/steamcmd
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | sudo tar zxvf - -C /opt/steamcmd

# Server configuration
export VAC_SECURE="on"
export DIFFICULTY="Normal"
export SAVE_SLOT="1"
export VEGAN_MODE="off"
export VEGETARIAN_MODE="off"
export ALLOW_CHEATS="off"
export ALLOW_BUILDING_DESTRUCTION="on"
export TREE_REGROW="off"
export RESET_HOLES="off"
export ENEMIES_CREATIVE="off"
export REALISTIC_DAMAGE="off"
export INIT_TYPE="New"
export AUTOSAVE_INTERVAL="15"
export TARGET_FPS_IDLE="5"
export TARGET_FPS_ACTIVE="60"
export SHOW_LOGS="on"
export AUTO_UPDATE="1"

# Pull the container image
docker pull ghcr.io/ptero-eggs/yolks:wine_latest
Step 2

Install Server Files via SteamCMD

Download the The Forest dedicated server using Steam App ID 556450.

terminal
# Download The Forest server files (App ID: 556450)
/opt/steamcmd/steamcmd.sh \
  +force_install_dir /opt/gameserver \
  +login anonymous \
  +app_update 556450 validate \
  +quit
Step 3

Open Firewall Ports

The Forest requires 3 ports to be open for game traffic and queries.

terminal
sudo ufw allow 27016/udp
sudo ufw allow 27015/udp
sudo ufw allow 8766/udp
27016/UDP(PORT)27015/UDP(GAME_PORT)8766/UDP(STEAM_PORT)
Step 4

Launch the Server

Start the The Forest server using the configuration from Step 1.

Create the startup script

terminal
# Create the startup script
cat > /opt/gameserver/start.sh << 'EOF'
#!/bin/bash

# 1. Disable Wine sound to prevent ALSA errors
winetricks sound=disabled

# 2. Build Argument Array
PARAMS=(
"-batchmode"
"-nographics"
"-nosteamclient"
"-serverPasswordAdmin" ""
"-inittype" "New"
"-savefolderpath" "/home/container/TheForestDedicatedServer_Data"
"-configfilepath" "/home/container/TheForestDedicatedServer_Data/forest/config/config.cfg"
)

# 3. Start Server
echo "Starting The Forest Dedicated Server..."
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' wine ./TheForestDedicatedServer.exe "[@]}" 2>&1 | grep -v 'RenderTexture.Create failed'
EOF
chmod +x /opt/gameserver/start.sh

Run the container

terminal
docker run -d \
  --name the-forest-server \
  -p 27016:27016/udp \
  -p 27015:27015/udp \
  -p 8766:8766/udp \
  -e VAC_SECURE="on" \
  -e DIFFICULTY="Normal" \
  -e SAVE_SLOT="1" \
  -e VEGAN_MODE="off" \
  -e VEGETARIAN_MODE="off" \
  -e ALLOW_CHEATS="off" \
  -e ALLOW_BUILDING_DESTRUCTION="on" \
  -e TREE_REGROW="off" \
  -e RESET_HOLES="off" \
  -e ENEMIES_CREATIVE="off" \
  -e REALISTIC_DAMAGE="off" \
  -e INIT_TYPE="New" \
  -e AUTOSAVE_INTERVAL="15" \
  -e TARGET_FPS_IDLE="5" \
  -e TARGET_FPS_ACTIVE="60" \
  -e SHOW_LOGS="on" \
  -e AUTO_UPDATE="1" \
  -v /opt/gameserver:/opt/gameserver \
  -w /opt/gameserver \
  ghcr.io/ptero-eggs/yolks:wine_latest \
  ./start.sh

Or skip all of this

GameCP automates every step above: Docker, SteamCMD, port forwarding, startup, and config. Install on your own PC and deploy a The Forest server in under 5 minutes.

Deploy with GameCP

More Hosting Guides

Explore step-by-step setup guides for other popular games supported by GameCP.

7 Days to Die

7 Days to Die

Survival

ARK: Survival Ascended

ARK: Survival Ascended

Survival

ARK: Survival Evolved

ARK: Survival Evolved

Survival

Aska

Aska

Survival

Conan Exiles

Conan Exiles

Survival

DayZ

DayZ

Survival

Don't Starve Together

Don't Starve Together

Survival

Enshrouded

Enshrouded

Survival

View all supported games

Ready to Host Your The Forest Server?

Install GameCP on your own computer and start hosting in minutes. Automatic port forwarding, zero config — your friends connect instantly.

Deploy NowView Pricing

No credit card required · Free tier available · Install local, scale later

Host The Forest from your own computer. Automatic port forwarding. Zero config.

No credit card requiredDeploy Free