Home

The Forest

Config Generator

Fill in the fields below to generate a ready-to-use dedicatedserver.cfg for your The Forest dedicated server. For the full setup walkthrough -- getting the server files, required ports and starting it up -- see the The Forest setup guide. Not sure your hardware is up to it? Check compatibility first.

The main JSON server config, next to the dedicated server executable. Not to be confused with Sons of the Forest's separate config format.

Source: Community-documented (Endnight Games doesn't publish a formal reference for this file); exact key names weren't independently confirmed against a fresh install, so double-check against your own server's generated copy before relying on it.

dedicatedserver.cfg preview

{
  "ServerName": "My Forest Server",
  "ServerPassword": "",
  "ServerPlayers": 4,
  "ServerIP": "0.0.0.0",
  "serverSteamPort": 8766,
  "serverGamePort": 27015,
  "serverQueryPort": 27016,
  "Slot": 1,
  "Difficulty": "Normal"
}
Source: Community-documented (Endnight Games doesn't publish a formal reference for this file); exact key names weren't independently confirmed against a fresh install, so double-check against your own server's generated copy before relying on it.

Server running but nobody can join?

A wrong or missing setting in this file isn't the only reason players can't connect -- see the connection troubleshooting guide for port forwarding, firewall and CGNAT issues.