A complete walkthrough for running your own Barotrauma dedicated server — install it with SteamCMD, open the ports, tune the server settings and crew a submarine 24/7 with your friends. Plus the one-click hosted route if you'd rather skip the setup.
Barotrauma has a free dedicated server (Steam app 1026340, separate from the game) that runs natively on Linux via anonymous SteamCMD. You can self-host it on a spare machine or use managed Barotrauma server hosting for an always-online submarine with a panel.
This guide covers the self-hosted SteamCMD route step by step.
What you'll need
- A machine to run the server, or a host for 24/7 uptime.
- SteamCMD, to download the free server (app 1026340).
- Open ports: UDP 27015 and 27016.
- A password if you want a private crew.
- A modest CPU and 2-4 GB of RAM.
Set up a Barotrauma dedicated server, step by step
Step 1: Choose self-host or a managed host
The server is free, but self-hosting needs a machine on 24/7 and port-forwarding. A managed host gives you an always-online server in minutes. Want zero hassle? Pick a host and skip to step 4.
Step 2: Install with SteamCMD
The Barotrauma dedicated server is Steam app 1026340 — a free, anonymous download; you don't need to own the game on the server machine.
steamcmd +login anonymous +force_install_dir ./barotrauma +app_update 1026340 validate +quitStep 3: Configure the server
Set the server name, password, max players, game mode and settings in the server config file (serversettings.xml). The server is public by default — set a password to lock it down.
Step 4: Launch & open the ports
Start the server and forward UDP 27015 and 27016 (game + query) so players can find and join. On a managed host this is opened for you.
27015/udp game (default) 27016/udp queryStep 5: Add mods (optional)
Barotrauma uses the Steam Workshop. Subscribe to mods and enable them server-side; players download matching mods on join. Keep versions in sync.
Step 6: Crew up & play
Share the IP (or password). The server stays online 24/7 so your crew can dive any time, and campaign progress persists between sessions.
Run a stable sub
Light on hardware
A modest CPU and 2-4 GB of RAM run a full 16-player crew. Barotrauma is far lighter than big survival games.
Set a password for private crews
The server is public by default. Add a password in the config to keep it to your crew.
Sync Workshop mods
Enable mods server-side and make sure clients run the same ones — mod mismatches are the usual join problem.
Back up campaign saves
Campaign progress lives in the save folder. Back it up before updates so a bad patch never sinks your run.
Common problems & fixes
Players can't connect
UDP 27015-27016 aren't open. Forward both and confirm the host firewall allows them.
Mods won't match
Enable the same Workshop mods server-side and client-side; version mismatches block joins.
The server is public and I wanted it private
Set a password in serversettings.xml — Barotrauma servers are public by default.
Campaign progress lost
The save folder was moved or corrupted. Restore from a backup and don't edit saves while the server runs.
Barotrauma is a trademark of FakeFish / Undertow Games. ESAGAMES is an independent hosting provider, not affiliated with or endorsed by them. You must own a legitimate copy of the game to play.