How To Set Up A Remote Game Streaming Server using Moonlight?

NordVPN

When game streaming platforms like Stadia first launched, they promised a future where people wouldn’t need to invest in a gaming laptop or console and could enjoy games anywhere. While many of these platforms failed miserably, the concept of gaming from any location persisted and gave rise to devices like the PS Portal. However, rather than purchasing devices like the PS Portal, you have the option to create your game streaming server using services like NordVPN, Sunshine, and Moonlight. Here’s a step-by-step guide on how to do it.

Why choose a personal gaming server?

Screenshot of the Moonlight application

While streaming platforms eliminate the need for owning a computer, they come with their set of challenges, including game restrictions, resolution limitations, and subscription costs. On the other hand, a personal gaming server offers users the freedom to choose their preferred games, customize settings, and avoid monthly fees.

Sunshine, an open-source, self-hosted software compatible with Windows, macOS, and various Linux distributions, is at the heart of our gaming server setup. In simple terms, Sunshine transforms your PC/laptop into a game-streaming server, supporting NVIDIA, AMD, and Intel GPUs. However, the service lacks some mainstream features, such as an automatic game list.

Once your system is transformed into a gaming server, the next step in this journey is Moonlight, an open-source streaming client. Moonlight enables users to adjust their resolution and bitrate, optimizing the gaming experience based on their specific setup. Additionally, the software’s availability on almost all platforms ensures users can even game on their MacBooks.

What is the use of NordVPN?

As mentioned earlier, while you set up a game streaming server using Sunshine and Moonlight, one can only access it from within a LAN. However, this is where NordVPN Meshnet comes in, as it enables users to access devices globally by establishing direct connections between them. Whether you are on the move or at home, this feature lets you enjoy your favorite games from any compatible device.

Set up a Gaming Server

Before delving into the process, ensure your gaming server PC meets the minimum/4K system requirements [link]. We’ll be setting up the media server on a Windows machine while streaming on a MacBook, so keep in mind that certain steps might vary for other operating systems.

Step 1: Install Sunshine

  1. Visit Sunshine’s GitHub page [here] and download the application.
    Screenshot of the sun sunshine download page
  2. Open the downloaded file and follow the on-screen instructions to complete the installation.
  3. Click “Finish.”

Step 2: Configuring Sunshine

  1. Launch the Sunshine client; it will open a URL.
  2. Enter your preferred username and password.
    Image showing Sunshine's log in page
  3. Log in to the service using your credentials.

Step 3: Import Games

  1. Navigate to the Applications section.
    Screenshot of the Application section in Sunshine client
  2. Click on the “Add New” button.
    Screenshot of the Add New button in Sunshine
  3. In the name field, enter the game’s name.
  4. In the command field, input “cmd /c <file_name.exe> “ for Windows or “<file_name>“ for macOS/Linux to initialize the game’s executable file.
  5. Copy the path of the game folder from your PC and paste it into the working directory.
    Screenshot of the parameters to set up the game streaming server
  6. Click “Save.”

Step 4: Install Moonlight

Now that your gaming server is operational, let’s install Moonlight on the other device:

  1. Visit Moonlight’s GitHub page [here] if you’re installing it on another computer. Alternatively, install the iOS and Android apps.
    Screenshot of the Moonlight game streaming set up download page
  2. Complete the installation process.

Step 5: Connect both devices

  1. Install and open the NordVPN application on both devices.
  2. Go to the Meshnet section on your server and client PC and toggle it on.
  3. Copy your server’s Nord name.
    Screenshot of NordVPN
  4. Open Moonlight on your client machine, click on the computer icon in the top right and paste the server’s Nord name.
    Image showing how to set up Moonlight game streaming server 1
  5. Click “OK.”
  6. Click on the PC icon to obtain a PIN code.
    Image showing how to set up Moonlight game streaming server 2
  7. On the gaming server machine, open the Sunshine client, click on the PIN icon on top, and enter the PIN.
    Screenshot of the Sunshine application to set up the gaming server

Step 6: Play Games

  1. On your client device, select the Sunshine PC.
  2. Choose the game you want to play.

However, it is important to note that the gaming experience will depend on the strength of your Wi-Fi.

Similar Posts