Do you have a Windows VPS and want to install the Avorion Dedicated Server on it? Then you’re in the right place. This guide will walk you through the step-by-step process of setting up this service on your server.
First, connect to your VPS via Remote Desktop (RDP). If you need help with this, check out our First Access (RDP) guide.
Once you’re on your server, you need to set up SteamCMD to download the required Dedicated Server files. SteamCMD is the command-line version (CLI) of the Steam client and the tool you use to easily download various Steam Workshop and Dedicated Server files. Download SteamCMD from the official Valve page or directly here.
Create a new folder anywhere on your server; we’ll call it steamcmd here. Go to your Downloads folder, find the recently downloaded steamcmd.zip, and move it into the steamcmd folder. Extract the file now by right-clicking with Windows’ built-in extractor or a program like 7zip or WinRAR. After that, you should have a steamcmd.exe file in the folder.
Simply start steamcmd.exe and wait until the installation completes.
Once the message Loading Steam API.... OK appears, everything is successfully completed, and you can continue with the Avorion Dedicated Server installation in the next section.
After starting steamcmd.exe, you can enter commands in the command line. First, log in with the anonymous user by typing: login anonymous
After logging in, you can start downloading the files.
Optional: You can set your preferred installation directory with the command force_install_dir [path]. Replace [path] with your desired server path. Example:
force_install_dir C:\Avorion-Server
Start the download now with the command app_update 565060. The app ID 565060 stands for the Avorion application.
Please do not interrupt the process before it finishes to avoid errors. It may take a moment, but patience pays off! :)
After a successful download, go to the directory where the server files were saved. There, you should create a copy of the server.bat file and rename it, for example, to startserver.bat. You will use this new .bat file later to start the server and adjust the server configuration. We recommend setting up port forwarding and configuring your server first.
To make your server publicly accessible, you need to create port forwarding rules for the ports used by the Dedicated Server. You can do this either directly via PowerShell commands (easier) or through the Windows Defender Firewall.
Open Windows Search and look for PowerShell. Right-click and select Run as Administrator to have the necessary rights and ensure everything works smoothly.
Make sure to start PowerShell in administrator mode; otherwise, the settings will not be applied correctly.
Enter the following commands in PowerShell:
New-NetFirewallRule -DisplayName "Avorion Server" -Direction Inbound -LocalPort 27000 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "Avorion Server" -Direction Inbound -LocalPort 27000,27003,27020,27021 -Protocol UDP -Action Allow
New-NetFirewallRule -DisplayName "Avorion Server" -Direction Outbound -LocalPort 27000 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "Avorion Server" -Direction Outbound -LocalPort 27000,27003,27020,27021 -Protocol UDP -Action Allow
These commands automatically create the firewall rules your Avorion server needs to be publicly reachable.
Open Windows Firewall with Advanced Security via Windows Search. If you only see the basic firewall page, click Advanced Settings to open the correct window.
Create new rules for your Avorion server. Click on inbound and outbound rules and add the following protocols and ports:
- TCP inbound and outbound: 27000
- UDP inbound and outbound: 27000, 27003, 27020, 27021
If you need more help, check out our Port Forwarding (Firewall) guide.
After adding the rules, your server is publicly accessible. You can now connect using your server’s IP address. In the main menu, select your character, go to the Find Games tab, and click Add Server. Enter your server IP, the port (default 15636), and your server password (if set, otherwise leave blank).
We recommend configuring your server first using the next section before connecting.
So far, you have completed the basic installation of your Avorion server. You can adjust the server settings directly in the startserver.bat file you copied earlier. Open it with a text editor like Notepad and change the parameters as you wish.
If you want to change world-specific settings, you need to edit the galaxy saves and adjust the server.ini file. You can find this in the Windows AppData directory at the following path:
../AppData/Roaming/Avorion/galaxies
CTRL + R simultaneously and entering the following path in the Run dialog: %userprofile%/AppData/Roaming/Avorion/galaxies. Then just click OK and you’ll be in the folder.
Now for the main part: start your server by going to the base directory of your Avorion server and running the startserver.bat file you created. This will open the server console in a command line window and start the server. You can now connect directly through the in-game server browser by entering your server IP and port (default: 27000).
