
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.
Hardware Requirements
Here's what you need to run a The Forest dedicated server.
Economy
Small co-op session, 1-4 players
Standard
Full server, 4-8 players
Pro
Dedicated server with heavy building/mods, 8 players
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.
Setup in 4 Steps
Skip the manual SteamCMD installation, port forwarding, and systemd configuration. Install on your own computer and start hosting instantly.
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.
Configure & Prepare
Set your server settings, then install Docker, SteamCMD, and pull the The Forest container image.
# 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="off" 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
Install Server Files via SteamCMD
Download the The Forest dedicated server using Steam App ID 556450.
# Download The Forest server files (App ID: 556450) /opt/steamcmd/steamcmd.sh \ +force_install_dir /opt/gameserver \ +login anonymous \ +app_update 556450 validate \ +quit
Open Firewall Ports
The Forest requires 3 ports to be open for game traffic and queries.
sudo ufw allow 8766/udp sudo ufw allow 27015/udp sudo ufw allow 27016/udp
Launch the Server
Start the The Forest server using the configuration from Step 1.
docker run -d \ --name the-forest-server \ -p 8766:8766/udp \ -p 27015:27015/udp \ -p 27016:27016/udp \ -e VAC_SECURE="off" \ -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 \ xvfb-run --auto-servernum wine ./TheForestDedicatedServer.exe -batchmode -nographics -serverPasswordAdmin -inittype New -nosteamclient -savefolderpath /home/container/TheForestDedicatedServer_Data -configfilepath /home/container/TheForestDedicatedServer_Data/forest/config/config.cfg 2>&1 | grep -v 'RenderTexture.Create failed'
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 GameCPMore Hosting Guides
Explore step-by-step setup guides for other popular games supported by GameCP.
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.
No credit card required · Free tier available · Install local, scale later