Valheim Dedicated Server
This free NautilusControl template sets up a Valheim dedicated server on ports 2456, 2457, 2458 with 4 GB of RAM recommended. This page covers the ports to open, hardware requirements, the Docker image and step-by-step setup.
Valheim at a glance
- Category
- Steam (Steam dedicated server)
- Docker image
- steamcmd/steamcmd:latest
- Default version
- latest
- Ports
- 2456/UDP, 2457/UDP, 2458/UDP
- RAM
- 4 GB
- CPU
- 2 cores
- Disk
- 10 GB
- Console
- Interactive console (stdin)
- Steam game
- Yes
- Steam app ID
- 896660
- Template version
- v1.0.0
Valheim server ports
A Valheim dedicated server built from this template listens on these 3 ports. Open them in your firewall so players and clients can connect.
| Port | Protocol | Used for |
|---|---|---|
| 2456 | UDP | Game |
| 2457 | UDP | Query |
| 2458 | UDP | Status |
sudo ufw allow 2456/udp
sudo ufw allow 2457/udp
sudo ufw allow 2458/udpValheim server requirements
These are the template's recommended starting values. Increase it for more players, mods or plugins.
Run Valheim in Docker
The template uses the steamcmd/steamcmd:latest image, default version latest. NautilusControl pulls it automatically; to fetch it yourself:
docker pull steamcmd/steamcmd:latest./valheim_server.x86_64 -name "Valheim Server" -port {port} -world "Dedicated" -password changeme -public 1The game files are installed with SteamCMD (app ID 896660). NautilusControl runs it for you on first start.
Files and folders
/data/server— Server/data/save— Save
How to set up a Valheim dedicated server with NautilusControl
Install NautilusControl
Install the NautilusControl panel and agent on the machine that will run the server. The installation guide covers it, and the 14-day free trial includes 1 node and 5 servers.
Import the Valheim template
Download this template (a single JSON file) with the button above, then open Templates in NautilusControl and choose Import JSON.
Create the server
Create a new container and pick Valheim. NautilusControl pulls
steamcmd/steamcmd:latestand creates the folders for you.Open the ports
Allow ports 2456, 2457, 2458 through your firewall, and forward them on your router if people connect from outside your network.
Start it
Press Start and follow the startup log in the panel, then use the interactive console (stdin) for commands.
Valheim FAQ
What ports does a Valheim server use?
This template uses ports 2456 (Game), 2457 (Query), 2458 (Status). Open them in your firewall and forward them on your router if players connect from outside your network.
How much RAM does a Valheim server need?
The template recommends 4 GB of RAM, 2 cores, 10 GB of disk space. Increase it for more players, mods or plugins.
Can I run Valheim in Docker?
Yes. The template uses the Docker image steamcmd/steamcmd:latest. NautilusControl pulls it and creates the container for you.
Is the Valheim template free?
Yes. Every template in the Corallium Studios library is free to download. You need NautilusControl to deploy it; there is a 14-day free trial.