Tice Tips

Barotrauma Dedicated Server Set up Guide

Barotrauma has been out for a while, but how do you start a server to play with your friends? This guide will show you how to set up a Barotrauma Dedicated Server using SteamCMD and get you on your way to playing Barotrauma!

Barotrauma has been out for a while,  But how do you start a server to play with your friends? This guide will show you how to set up a Barotrauma Server using SteamCMD and get you on your way to playing Barotrauma!

Step 1: Prerequisites

  • Make sure you are running Windows 10
  • 10GB of storage is available
  • Make sure that you have at least 6GB of RAM to run the server.
  • (Preferably) A wired internet connection. Wifi can get unstable and can cause issues with people connecting to your server. 
  • A Static IP address on your computer (Not sure how to do this? check out this guide!).

Step 2: Installing SteamCMD

The following steps will guide to through the SteamCMD installation:

  • Download the Latest SteamCMD Zip file.
  • Create a folder for SteamCMD. (In this guide, we will use C:\steamcmd)
  • Extract the contents of the steamcmd.zip to the folder you have created
  • You should now have something like the screenshot below:
a screenshot of the Steamcmd folder with a steamcmd.exe executable inside as preparation for the Satisfactory Dedicated Server

To make sure that you’ve done everything correctly, please do the following:

  • Press + to open a run window.
  • Type CMD and press enter.
an image of a windows run box with cmd typed into it
  • Execute the following 2 commands:
cd C:\steamcmd
steamcmd
an image displaying the output of running the steamcmd command

If an output is shown as the example above, good job! You’ve now got SteamCMD up and running! For now exit this window by typing:

quit
exit

Step 3: Preparing the folder

Now you’ve got SteamCMD up and running; it is time to prepare the folder. This step is quite simple.

  • Open up windows explorer with + E.
  • Navigate to the Desktop folder
  • Create a folder called Barotrauma (you can name this folder anything you want, but for the sake of clarity, we’ll use this name)
  • Go into the Barotrauma Folder
  • Take note of the path you are currently in by clicking on the navigation bar:
Baurotrauma folder

Now you are almost ready to start your server. We will use two batch scripts for this guide, one to install/update and the other to run the server. 

The install/upgrade script

  • In the Barotrauma folder, you’ve just created, open up a notepad.
  • Copy and Paste the following in that file:
"C:\steamcmd\steamcmd.exe" +login anonymous +force_install_dir "C:\Barotrauma" +app_update 1026340 validate +quit
  • Click on Save As
  • Give it the same name and type as the image below:
install_server.bat as file type "All Files" to automate the Satisfactory Dedicated server installation
  • Save the install_server.bat in the Barotrauma folder.

The start script

  • In the Barotrauma folder, you’ve just created, open up a notepad.
  • Copy and Paste the following in that file:
@echo off
DedicatedServer.exe -log -unattended
  • Click on Save As
  • Give it the same name and type as the image below:
start_server.bat as file type "All Files" to automate the Satisfactory Dedicated server installation
  • Save the start_server.bat in the Barotrauma folder.
  • Your folder should now look like this:
Barotrauma folder with scripts

Step 4: Running the Barotrauma Dedicated Server

Now all files are in order and we are ready to move forward and start the server!

  • Right Click the install_server.bat and select “ Run as administrator
  • This will install the server in the right directory (the process can take a while depending on PC speed).

Now, if you’ve done everything correctly, your folder should now look like this:

Barotrauma folder with everything installed
  • Start the Barotrauma Dedicated Server by Double Clicking the start_server.bat

Now the server is running! Let’s move forward with connecting to the server.

Step 5: Firewall Rules

Before you and your friends can connect to the Barotrauma server, you’ll need to make changes to your firewall to allow connections on specific ports.

By default, a Barotrauma server uses the following ports:

Default Port (UDP only) Port Usage Description
27015 Client Port This port must be opened for client connections.
27016 Steam Port This port can optionally be opened for steam communication.

Now you can add these port exceptions to the firewall by hand, but let’s not; that takes way too much time. Let’s do something different:

  • Press + to open a run window.
  • Type PowerShell and press Ctrl+Shift+Enter to run it as administrator.
  • Type the following three commands:
netsh advfirewall firewall add rule name="Barotrauma Port 27015" dir=in action=allow protocol=UDP localport=27015
netsh advfirewall firewall add rule name="Barotrauma Port 27016" dir=in action=allow protocol=UDP localport=27016

And now your firewall has been magically configured!

Step 6: Port forwarding

Now, let’s move forward by port forwarding. Before doing that, you would want to set a static IP address on your computer

After you’ve done that, you can move forward with the actual port forwarding:

First, you’ll need to know what the IP addresses of your computer and router are. This can be done by doing the following:

  • Press + to open a run window.
  • Type CMD and press Enter. (This should open a black window.)
  • Please type “ipconfig” and press enter.

You’ll see some information about the network settings:

A Picture of a Commandprompt which just executed the ipconfig command

You’ll want to make a note of the “Default Gateway” & IPv4 address; in my case, it is:

  • Default Gateway: 192.168.2.254
  • IPv4 address: 192.168.2.202

You’ll need to enter this address in your browser and log in to your router. Visit this site to find your specific model and were to find the Port Forward settings.

Once you’ve navigated to the Port Forwarding rules, please enter the following information:

Rule Name IP Address Port Range Protocol
Barotrauma Client Port -Your IPv4 Address- 27015 UDP
Barotrauma Steam Port -Your IPv4 Address- 27016 UDP

Now hit save, and your Barotrauma server is open to the public!

But your friends still don’t know where to find you. For that, you’ll need your public IP address. You can use a site like www.whatismyip.com to get your public IP address.

Step 7: Connecting to your Barotrauma Server

Woohoo! You’ve made it to the last step! You’re in the home stretch.

Now you can finally boot up your game. 

Once in the main menu, click on Server Browser and then the “Direct Join” on the bottom of the screen. 

Barotrauma main menu

This will pop up a new window.

In this window, you can enter the following:

Direct Join Barotrauma

That’s it! You now have a running Barotrauma server using SteamCMD!

You may also like:

Palworld Xbox Dedicated Server Docker set up guide Palworld has been released in early access! But how do you start an Xbox

Palworld Port Forwarding Guide Palworld has been released in early access! But how do you start a server to play with your

By Thijs van Loef
Posted on: 06/07/2022

No Comments on Barotrauma Dedicated Server Set up Guide

Leave A Comment