
Host a Sons of the Forest Dedicated Server
Sons of the Forest is a horror survival game and sequel to The Forest by Endnight Games. Sent to find a missing billionaire on a remote island, you find yourself in a cannibal-infested hellscape. Craft, build, and struggle to survive, alone or with friends.
Hardware Requirements
Here's what you need to run a Sons of the Forest dedicated server.
Economy
Small co-op session, 1-4 players
Standard
Full server, 4-8 players
Pro
Dedicated server with heavy building, 8 players
Start hosting from your own computer
Run a Sons of the Forest server on your desktop, laptop, VPS, or dedicated machine — GameCP automates Docker setup, resource allocation, and Sons of 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 Sons of 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 Sons of 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 LAN_ONLY="false" export GAME_MODE="Normal" export SAVE_SLOT="1" export SAVE_MODE="Continue" export IDLE_DAY_SPEED="0.0" export TREE_REGROWTH="true" export STRUCTURE_DAMAGE="true" export ENEMY_SPAWN="true" export ENEMY_HEALTH="Normal" export ENEMY_DAMAGE="Normal" export ENEMY_AGGRESSION="Normal" export ENEMY_ARMOUR="Normal" export ANIMAL_SPAWN="Normal" export STARTING_SEASON="Summer" export SEASON_LENGTH="Default" export DAY_LENGTH="Default" export SAVE_INTERVAL="600" export SKIP_NET_TEST="true" export IDLE_FPS="5" export ACTIVE_FPS="60" export AUTO_UPDATE="1" # Pull the container image docker pull ghcr.io/ptero-eggs/yolks:wine_latest
Install Server Files via SteamCMD
Download the Sons of the Forest dedicated server using Steam App ID 2465200.
# Download Sons of the Forest server files (App ID: 2465200) /opt/steamcmd/steamcmd.sh \ +force_install_dir /opt/gameserver \ +login anonymous \ +app_update 2465200 validate \ +quit
Open Firewall Ports
Sons of the Forest requires 3 ports to be open for game traffic and queries.
sudo ufw allow 8766/udp sudo ufw allow 27016/udp sudo ufw allow 9700/udp
Launch the Server
Start the Sons of the Forest server using the configuration from Step 1.
docker run -d \ --name sons-of-the-forest-server \ -p 8766:8766/udp \ -p 27016:27016/udp \ -p 9700:9700/udp \ -e LAN_ONLY="false" \ -e GAME_MODE="Normal" \ -e SAVE_SLOT="1" \ -e SAVE_MODE="Continue" \ -e IDLE_DAY_SPEED="0.0" \ -e TREE_REGROWTH="true" \ -e STRUCTURE_DAMAGE="true" \ -e ENEMY_SPAWN="true" \ -e ENEMY_HEALTH="Normal" \ -e ENEMY_DAMAGE="Normal" \ -e ENEMY_AGGRESSION="Normal" \ -e ENEMY_ARMOUR="Normal" \ -e ANIMAL_SPAWN="Normal" \ -e STARTING_SEASON="Summer" \ -e SEASON_LENGTH="Default" \ -e DAY_LENGTH="Default" \ -e SAVE_INTERVAL="600" \ -e SKIP_NET_TEST="true" \ -e IDLE_FPS="5" \ -e ACTIVE_FPS="60" \ -e AUTO_UPDATE="1" \ -v /opt/gameserver:/opt/gameserver \ -w /opt/gameserver \ ghcr.io/ptero-eggs/yolks:wine_latest \ WINEDEBUG= xvfb-run --auto-servernum wine ./SonsOfTheForestDS.exe -userdatapath "/home/container/serverconfig" -dedicatedserver.IpAddress "0.0.0.0" -dedicatedserver.GamePort "8766" -dedicatedserver.QueryPort "27016" -dedicatedserver.BlobSyncPort "" -dedicatedserver.MaxPlayers "" -dedicatedserver.Password "" -dedicatedserver.GameMode "Normal" -dedicatedserver.SkipNetworkAccessibilityTest "true" -dedicatedserver.SaveSlot "1" -dedicatedserver.LogFilesEnabled "true" -dedicatedserver.TimestampLogFilenames "true" 2>&1
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 Sons of 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 Sons of 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