Hosting a Server on Your Computer

If you want to play with your friends and do not have a dedicated server, follow these instructions to set one up on your computer.

Playing over LAN

Note: This will only work when everyone is connected to the same Local Area Network (generally that means the same WiFi network or router).

  1. Start the server
  2. Find your local IP address and share it with your friends. They will need to enter it in-game to join the server.
  3. Have fun!

Playing over the internet

Note: You will need access to your router and knowledge about port forwarding.

Tip: If you are unable to set up port forwarding, there exist programs such as ZeroTier, Netbird or Hamachi, which allow a limited amount of users to connect to a local server through the internet.

  1. Forward port 14004 TCP and UDP on your router.
  2. Start the server
  3. Find your public IP address and share it with your friends. They will need to enter it in-game to join the server.
  4. Have fun! :)

Note: If you need your computer's local IP address for port forwarding, refer to the Finding your local IP address section below.

Starting the server

Using the server provided by Airshipper

This is a good option if everyone playing uses Airshipper.

  1. Find your game installation folder.
  2. Go into profiles/default.
  3. Launch veloren-server-cli[.exe].

Using a custom server executable

This is a good option if you want to play an older release or a custom version.

  1. Open the folder with extracted game files.
  2. Make sure you have the assets folder in the same place as the server executable.
  3. Launch veloren-server-cli[.exe].

Finding your local IP address

Tip: Generally local IPv4 addresses have the form of 192.168.xxx.xxx or, more rarely, 10.xxx.xxx.xxx. For IPv6 addresses, local ones generally start with fe80:

On Linux and macOS

  1. Open the Terminal.
  2. Type ip addr || ifconfig and press enter.
  3. You will see all of your computer's IP addresses, grouped by network card/interface.
    Interface names starting with e are generally ethernet while ones starting with w are generally wireless. Lines starting with inet and inet6 show IPv4 and IPv6 addresses respectively. If there are multiple addresses in one line, only the first is important.
    For example, lo is the loopback interface with a 127.0.0.1 IPv4 address and a ::1 IPv6 address.
    Likely, the first address which doesn't belong to the loopback interface is what you are looking for.

On Windows

  1. Open CMD (type cmd.exe into the start menu and press enter).
  2. Type ipconfig and press enter.
  3. You will see all of your computer's IP addresses, grouped by network card/interface.
    Lines starting with IPv4 address or IPv6 address show the respective address types. Likely, the first address which isn't 127.0.0.1 or ::1 will be what you are looking for.

Windows Firewall (Optional)

If you use windows firewall, open cmd as admin and write those commands, and press enter. It will automatically add rules to the windows firewall. Remember to configure your router firewall accordingly too.

netsh advfirewall firewall add rule name="Veloren 14004" dir=in action=allow protocol=TCP localport=14004
netsh advfirewall firewall add rule name="Veloren Metrics" dir=in action=allow protocol=TCP localport=14005