How to Install Palworld Server on Your Synology NAS

How to Install Palworld Server on Your Synology NAS

This Docker container helps you get started with hosting your own dedicated Palworld server on your Synology NAS. Palworld is an upcoming action-adventure, survival, and monster-taming game created and published by Japanese developer Pocket Pair. The game is set in an open world populated with animal-like creatures called “Pals”, which players can battle and capture to use for base building, traversal, and combat. In this step by step guide I will show you how to install Palworld Server on your Synology NAS using Docker & Portainer.

💡Note: This guide works perfectly with the latest Palworld Server v0.37.1 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

⚠️Note: It’s Mandatory to have the original Palworld client game installed on your PC.

  • STEP 3

Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.

  • STEP 4

Log in to your router. Find the Port Forwarding area. At the moment I am using an RT6600ax Synology router. Remember that every router has its own interface design. Be sure to open the necessary port through your router settings, UDP. If the ports that point to your Synology NAS device are not opened, all the services you have activated on those specific ports will not work. All you need to do is give your Synology device permissions on port 8211 and 27015 UDP, then apply the settings. Follow the instructions in the image below. Note: Ports 8211 and 27015 are the essential ports to make the Palworld Server work.

Palworld Server Synology NAS Set up 1

  • STEP 5

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it palworld-server. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Palworld Server Synology NAS Set up 2

  • STEP 6

Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.

1 Synology Portainer Add Stack

  • STEP 7

In the Name field type in palworldserver. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

version: "3.9"
services:
   palworld:
      image: thijsvanloef/palworld-server-docker:latest # Use :latest-arm64 tag instead of :latest for arm64 NAS
      restart: on-failure:5
      container_name: Palworld-Server
      stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop
      ports:
        - 8211:8211/udp
        - 27015:27015/udp
      environment:
        - PUID=1026
        - PGID=100
        - PORT=8211
        - PLAYERS=16
        - SERVER_PASSWORD=mariushosting
        - MULTITHREADING=true
        - RCON_ENABLED=true
        - RCON_PORT=25575
        - TZ=Europe/Bucharest
        - ADMIN_PASSWORD=mariushostingadmin # You can secure the access to a server by using the admin password.
        - COMMUNITY=false  # Enable this with true if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD above.
        - SERVER_NAME=mariushosting
        - SERVER_DESCRIPTION=mariushosting NAS
      volumes:
         - /volume1/docker/palworld-server:/palworld:rw

Note: Before you paste the code above in the Web editor area below, change the value numbers for PUID and PGID with your own values. (Follow my step by step guide on how to do this.)
Note: Before you paste the code above in the Web editor area below, change the value for SERVER_PASSWORD. Type in your own password. mariushosting is an example for a server password.
Note: Before you paste the code above in the Web editor area below, change the value for TZ. (Select your current Time Zone from this list.)
Note: Before you paste the code above in the Web editor area below, change the value for ADMIN_PASSWORD. Type in your own password. mariushostingadmin is an example for an admin password.
Note: Before you paste the code above in the Web editor area below, change the value for SERVER_NAME. Type in your own server name. mariushosting is an example for a server name.
Note: Before you paste the code above in the Web editor area below, change the value for SERVER_DESCRIPTION. Type in your own server description. mariushosting NAS is an example for a server description

Palworld Server Synology NAS Set up 3

  • STEP 8

Scroll down on the page until you see a button named Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.

Palworld Server Synology NAS Set up 4

  • STEP 9

If everything goes right, you will see the following message at the top right of your screen: “Success Stack successfully deployed“.

Palworld Server Synology NAS Set up 5

  • STEP 10

In the Portainer left sidebar click Containers. Refresh the page from time to time until your Palworld-Server instance is labeled as Healthy. The full Palworld Server installation will take anywhere from 5 to 10 minutes, depending on your NAS hardware. Follow the instructions in the image below.

Palworld Server Synology NAS Set up 6

  • STEP 11

Once the container is labeled as Healthy, open your Palworld client / Multiplayer, then type in your NAS IP followed by :8211 then click Connect. Follow the instructions in the image below.

Palworld Server Synology NAS Set up 7

  • STEP 12

If you want to make your server public instead of your NAS IP followed by :8211 type in your own synology.me DDNS followed by :8211 as per the example above. Make sure you have created a reverse proxy as per the example below.

Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy. Follow the instructions in the image below.

Palworld Synology NAS Reverse Proxy 1

  • STEP 13

Now click the “Create” button. Follow the instructions in the image below.

Palworld Synology NAS Reverse Proxy 2

  • STEP 14

On the General area, set the Reverse Proxy Name description: type in Palworld-Server. After that, add the following instructions:

Source:
Protocol: HTTPS
Hostname: palworld.yourname.synology.me
Port: 443

Check Enable HSTS

Destination:
Protocol: HTTP
Hostname: localhost
Port: 8211

Palworld Server Synology NAS Set up 9

  • STEP 15

On the Reverse Proxy Rules click the Custom Header tab. Click Create and then, from the drop-down menu, click WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. Click Save. Follow the instructions in the image below.

Synology Proxy WebSocket

  • STEP 16

Also make sure the First and Second Best Practices have been applied by following my Best Practices article.

  • STEP 17

Now you can Play on your own Server!

Palworld Server Synology NAS Set up 8

Enjoy Palworld Server!

🆘TROUBLESHOOTING

If you encounter issues by using this container, make sure to check out the Common Docker issues article. ⚠️Warning: This container requires a lot of RAM so make sure your synology NAS model has more than 16GB of RAM.

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Find out how to update the Palworld Server container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Sunday / June 9th, 2024 at 8:29 AM