Self-Hosted Server Guide/Hetzner Hyper-V Setup

From Dune: Awakening Community Wiki
Jump to navigation Jump to search

This supplementary guide is for people who have rented a dedicated server from Hetzner and need to perform additional setup to prepare their machine's networking to install the Dune servers. These steps must be followed BEFORE trying to run initial-setup.bat.


Order an additional IP

  • Log into the Hetzner Robot control panel
  • Navigate to your server
  • At the bottom of the IP's tab, Order additional IPs / Nets [1]
  • On the order screen, select One additional IP with costs [2]
  • Provide a reasonable purpose explaining it's for a VM to run a Dune: Awakening server and Agree to the terms and conditions
  • Click Apply for IP/subnet in obligation. This may take some time to process. You will be notified via email when complete.

Assign your new IP a new MAC Address

  • Wait for your new IP to be set up and appear in Robot
  • On your server tab, click the Computer symbol to set a new MAC [3]
  • This process should be fairly instant. Make a note of this interface's new MAC address.

(Recommended) Set the Hetzner Firewall Rules

While not strictly necessary, it's recommended to use Hetzner's firewall to protect the new VM (via it's new IP). Specifically the management ports to prevent malicious actors attempting to access the servers. You do NOT need to configure port forwarding for the VM.

  • In the Robot console for your server, go to the Firewall tab [4]
  • Add a new rule to allow (accept) traffic to ports 18888,30541,22 from the Host machine (Source IP) to the VM's new IP (Destination IP)
  • Add a new rule BELOW that to deny (discard) the same ports from any source (leave Source IP blank)
  • Save the firewall configuration

Set the vSwitch MAC Address Range

Once you have the new IP and MAC address configured for the machine

  • Log into the machine via Remote Desktop
  • Open Hyper-V Manager from the Start Menu
  • On the right under Actions, open Virtual Switch Manager
  • On the left under Global Network Settings select MAC Address Range
  • For both the Minimum and Maximum fields enter the new MAC address you configured in Robot
  • Click OK to save

Gallery

Next Steps

You can return to the Main Guide to continue setting up your server. You should be ready to run the initial-setup batch scripts.

If you require any assistance, there is a Community Discord for Self Hosted Private Server Owners where you can reach out for help.