Dec 02, 2025
Ariffud M. & Valentinas C.
7min Read
Sons of the Forest is a survival horror game where players strive to outlast the dangers on a mysterious island. Hosting your own server for this game offers smoother performance and better control over settings, allowing you to customize the gameplay for you and fellow survivors.
In this article, you’ll learn how to set up a Sons of the Forest server on a Linux virtual private server (VPS) using two different methods: Hostinger’s Game Panel feature and the manual command-line approach. By following our guide, you’ll become ready to create your server for the best possible gaming experience.
Before setting up your dedicated server for Sons of the Forest, it’s crucial that your system meets the prerequisites. This game doesn’t have official system requirements, but we’ve created this list based on the resources needed to run the server.
Additionally, make sure you have a stable internet connection to download the Sons of the Forest server files.
For players installing the dedicated server on a Linux VPS, we suggest having a basic understanding of secure shell (SSH) and Linux commands. These skills are fundamental for remote server setup and management.
Using Hostinger’s Game Panel is the simplest way to install your Sons of the Forest dedicated server. Available with all our game hosting plans, this intuitive tool allows you to install your game server with just a few clicks.
This method is particularly suitable for beginners or players unfamiliar with the manual setup process. Here’s how you can set up your Sons of the Forest server using Hostinger’s Game Panel:





Congratulations on successfully setting up your Sons of the Forest dedicated server. You’re now ready to explore and survive on the mysterious island of Sons of the Forest with your friends.
Did you know that Game Panel allows you to install multiple game servers under one account? Check out our curated list of the best games to install on dedicated servers, including Minecraft, Palworld, and Counter-Strike 2.
Players who prefer a hands-on approach or require custom server configurations can choose the manual method. In this tutorial, we use Debian 12. Please note that the commands may vary with other Linux distributions.
Choosing the proper gaming VPS provider is crucial for a seamless and responsive gaming experience. Consider the following factors when selecting a provider:
As the leading game server hosting provider, Hostinger excels in all these areas, making it an ideal choice for your Sons of the Forest dedicated server.
Our game hosting plans offer up to 8-core AMD CPUs, 32 GB RAM, and 400 GB NVMe storage to enhance your server’s performance. You can choose servers in Europe, Asia, North America, and South America, ensuring low latency for players worldwide.
Since our plans are based on VPS technology, you’ll have full root access. This level of control lets you tailor your hosting environment to meet specific needs, such as installing custom mods.
Hostinger’s game hosting service is also scalable, allowing your server to grow with your gaming community. This is particularly valuable as your player base expands or if you want to host servers for other games.
Once you choose your hosting provider, it’s time to set up your gaming VPS. Follow this guide to ensure your server is ready for Sons of the Forest:
ssh username@ip_address
sudo apt update
sudo apt upgrade
sudo apt install software-properties-common lsb-release wget gcc-multilib lib32z1
sudo add-apt-repository non-free
sudo dpkg --add-architecture i386
sudo apt update
sudo ufw enable
sudo ufw allow 8766/udp
sudo ufw allow 9700/udp
sudo ufw allow 27016/udp
If you use Hostinger VPS, you can ask Kodee, our AI assistant, to manage various aspects of your gaming server, including setting up new firewall rules.
To do this, simply ask, “Set new firewall rules on my VPS that allow connection to port 8766, 9700, and 27016 UDP from any IP address.”
Since Sons of the Forest currently lacks native Linux support, you need to use Wine to run the game server as if it were on Windows.
Here’s how to install Wine on your server:
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources
sudo apt update
sudo apt install wine
sudo apt install cabextract winbind xvfb screen
Next, you need to install SteamCMD. It’s a command-line tool of the Steam client for downloading, installing, and updating game server files without using the Steam graphical interface.
Follow these steps to install and configure SteamCMD on your Debian VPS:
sudo apt install steamcmd
sudo adduser steam
sudo su - steam
ln -s /usr/games/steamcmd steamcmd
With SteamCMD configured, it’s time to install and launch the Sons of the Forest server. Here are the steps to get your server up and running on Linux:
steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir /home/steam/sotf_server +login anonymous +app_update 2465200 +quit
cd ~/sotf_server
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' wine SonsOfTheForestDS.exe -batchmode -nographics -savefolderpath "saves" -configfilepath "config"

Please note that the command above runs the server as a foreground service, meaning it will stop if the terminal session is closed. To keep your server running in the background of your SSH sessions, proceed to the next step.
Screen is a terminal multiplexer used to run processes in the background and manage multiple terminal sessions from a single window. Since you’ve installed Screen in Step 3, here’s how to use it to keep your Sons of the Forest server operating:
screen -S sotf
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' wine SonsOfTheForestDS.exe -batchmode -nographics -savefolderpath "saves" -configfilepath "config"
Now that your Sons of the Forest dedicated server is up and running, the final step is for players to join it. This step applies to both Hostinger’s Game Panel and the manual method. Here’s how:
You’ve manually created your own Sons of the Forest dedicated server. Now, invite your friends or fellow gamers to join and enjoy the thrilling experience together.
In this guide, you’ve learned how to install the Sons of the Forest dedicated server using Hostinger’s Game Panel and manually. Both approaches offer unique advantages, whether for ease and simplicity or complete control and customization.
Now that your server is operational consider customizing it further to meet the changing needs of your community. You can adjust UDP ports or modify the server config files to fine-tune performance and gameplay.
Have fun exploring, surviving, and building in Sons of the Forest with fellow gamers around the world.
This section will answer the most common questions about Sons of the Forest servers.
For a Sons of the Forest dedicated server, it’s important to open these specific ports: 8766 for the game port, 9700 for the blob sync port, and 27016 for the query port.
To manage player access and permissions on a Sons of the Forest dedicated server, you can manually edit the server’s config file. For Hostinger users, open Game Panel’s Game Settings and Server Settings menus to customize these options.
Yes, it’s possible to run mods on a Sons of the Forest server on Windows. However, since the game lacks native Linux support, you’ll need compatibility layers like Wine to install mods on a Linux server.