Sons of the Forest Dedicated Server Linux: How to Set Up

| Tags: | Author
Sons of the Forest Dedicated Server Linux: How to Set Up

Sons of the Forest is a multiplayer survival game and as such you have the ability to host your own dedicated servers. In case you have a PC with a Linux operating system, in this guide, we will tell you all the steps you need to follow to host a Sons of the Forest dedicated server on Linux.


How to Host a Sons of the Forest dedicated server on Linux

Even if you're not a computer genius, hosting a Sons of the Forest dedicated server on Linux is not a very difficult thing to do. If you follow what we tell you in this guide step by step, you shouldn't have any major problems. First, let's see what server requirements you need to meet.

  • Windows 10 or Server 2016+ & 64-Bit
  • Quad Core processor (requires up to 2 full cores)
  • Up to 6GB memory (currently uses around 11GB memory minimum)
  • 2GB disk space (install folder)

Now that you know what the minimum requirements your PC must meet, let's see in detail what you need to do to create a Sons of the Forest dedicated server on Linux.

  1. Create a folder C:\SonsOfTheForestServer
  2. Download SteamCMD for Windows: https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
  3. Extract the contents of the zip to the folder
  4. Create a file called FetchServerFiles.bat and put this code
    1. @echo off start “” steamcmd.exe +login USER PASS +force_install_dir “C:\SonsOfTheForestServer” +app_update 2465200 validate +quit
  5. Fetch server files from Steam by running the FetchServerFiles.bat

sons of the forest dedicated server linux

Start and Configure the Server

To start the server, make a file called StartServer.bat. In the file, write: start “” SonsOfTheForestServer.exe -log. Double-click on StartServer.bat and wait for it to open. Now, you need to modify the game server settings opening the Server.cfg file and do as follows:

// Dedicated Server Settings.

// Server IP address – Note: If you have a router, this address is the internal address, and you need to configure ports forwarding serverIP 123.123.123.123

// Steam Communication Port – Note: If you have a router you will need to open this port. serverSteamPort 27017

// Game Communication Port – Note: If you have a router you will need to open this port. serverGamePort 27015

// Query Communication Port – Note: If you have a router you will need to open this port. serverQueryPort 27016

// Server display name serverName My Server Name

// Maximum number of players serverPlayers 8

// Enable VAC (Valve Anti-cheat System at the server. Must be set off or on enableVAC on

// Server password. blank means no password serverPassword

// Server administration password. blank means no password serverPasswordAdmin changeme

// Your Steam account name. blank means anonymous serverSteamAccount

// Time between server auto saves in minutes – The minumum time is 15 minutes, the default time is 30 serverAutoSaveInterval 15

// Game difficulty mode. Must be set to Peaceful Normal or Hard difficulty Normal

// New or continue a game. Must be set to New or Continue initType Continue

// Slot to save the game. Must be set 1 2 3 4 or 5 slot 1

// Show event log. Must be set off or on showLogs on

// Contact email for server admin serverContact [email protected]

// No enemies veganMode off

// No enemies during day time vegetarianMode off

// Reset all structure holes when loading a save resetHolesMode off

// Regrow 10% of cut down trees when sleeping treeRegrowMode off

// Allow building destruction allowBuildingDestruction on

// Allow enemies in creative games allowEnemiesCreativeMode off

Sons of the Forest Dedicated Server Linux: How to Set Up
Diana D'Estefano
Diana has been a huge fan of video games since she was a child. She started her "career" with Nintendo and then moved on to other platforms as well. Although she is a big fan of horror games, she plays almost all genres fearlessly. She writes news, reviews, guides, and features about both AAA and indie games.