hello, welcome to NETVN channel
In this video I show you how to build a NAS server like Synology
I use 3 hard drives, one solid state drive to create the bootloader
Two traditional hard drives are used to store data
I first connected the solid state drive to a computer running Windows 11
On a Windows 11 computer there are two hard drives, one running the Windows operating system and the other hard drive to create the Synology bootloader
I will show you how to create a bootloader using a tool called arpl
You download the latest version of the image file
You download and unzip it
Next you need a software to burn this image file onto a solid-state drive
The software selected in this case is called balena etcher
You install balena etcher on your Windows computer
You then use balena etcher to write an image file called arpl.img to a solid state hard drive
As mentioned I write a file called arpl.img to a hard drive of size 240 GB
balena etcher erases all data on the hard drive before writing new data
It only takes a few seconds to finish writing the image file to the hard drive
Then you turn off the Windows 11 computer and remove the solid-state drive
Next you connect all 3 hard drives to the target computer. Solid State Drive used as bootloader
Two traditional hard drives have a capacity of 1 TB
Two traditional hard drives used to store data for Synology NAS
You go to the target computer's UEFI BIOS and check if it has detected the hard drives
You then set up this computer to boot from a solid-state drive
You enter the command menu.sh to start building the bootloader
You can build several different synology nas models
In this case I build synology with model ds3622xs+
Next you choose the operating system version for it
Each synology nas has a different serial number so create a new one
This tool helps you to generate a new random serial number
After you have set up the model, operating system and serial number you build the bootloader
The bootloader has been built, now you start it
From another Windows computer on the same local network you access synology nas using the ip address given from the dhcp server
You set up the steps for the first time starting synology nas
It will automatically download and install the operating system that matches your bootloader
Synology NAS erases data on traditional hard drives during operating system installation
Data on two traditional hard drives will be erased
It will take about 10 minutes to complete
A welcome screen appears, you have finished building your Synology NAS on your computer
You are asked to name the nas server and create a new admin account
Next you disable automatic updating of the operating system of this nas server
Above is the step-by-step build of Synology NAS on the computer
Next you configure storage on Synology NAS
As mentioned, this nas server has two traditional hard drives, each 1 TB in size
So I configure storage on both hard drives to avoid data loss
With two traditional 1 TB hard drives I have about 920 GB of storage
You can add more hard drives to increase the storage capacity of your Synology NAS
Next I introduce how to access the nas server from outside the internet
To access this nas server I use zerotier service
You can install zerotier on various platforms
Here is a guide to install zerotier on Synology NAS
I followed the steps of this tutorial to install zerotier
By default ssh is disabled so you can enable it
Next, you open the command window on your Windows 11 computer
You use the ssh command to access the Synology NAS using the ip address, username and password
Next you follow the steps as instructed on the zerotier homepage
You use Synology's root privileges
You create a new script file
Set executable permissions on script
You run the script file
Next you install docker for Synology NAS
On Synology NAS you can install many interesting applications
To install zerotier you need to use docker
docker has been installed on the Synology NAS
Next you create a directory to store the data of zerotier
This directory stores the identity and configuration of the zerotier
It will help zerotier save the connection configuration every time it reboots
Next you install zerotier docker
This command tells you the status of docker named zt
Now I create a virtual private network using zerotier service
You create a free zerotier account to create a new virtual private network
In this case I use Google account to create a new zerotier account
After successfully logging in to zerotier, I create a new virtual private network
You name the newly created virtual private network
To connect to this virtual private network you use the network identifier
You use the command as instructed to have your Synology NAS join the newly created virtual private network
On the management page you allow Synology NAS to join this virtual private network
Also you name this device for easy management
And here is the state of the docker named zt
Next I create a new shared folder
I create a new folder called Test
In the next step I will access this folder from the internet
Not only that, I can upload files from the internet
You create a new shared folder and assign permissions to this folder
You can remotely access your Synology NAS from your computer or smartphone
In this case I use a smartphone to remotely access the Synology NAS over the internet
On your smartphone you install the app called Zerotier One
It's available on Apple Store in Play Store
Next you connect to the virtual private network using the network identifier
Just like Synology NAS, smart phones also need zerotier authentication
So on the management page of zerotier I allow the smartphone to join this virtual private network
After the smartphone joined the zerotier virtual private network, I access the Synology NAS from the internet
On a smartphone, I use a web browser to access Synology NAS using the ip address provided by zerotier.
Because both devices are on the same virtual private network, smartphones can access the Synology NAS over the internet.
This way you can remotely access the Synology NAS without forwarding ports on the router
Stop forwarding ports on the router
Thank you for watching don't forget to like and help me 600,000 subscribers
From my smartphone I upload several files
File upload successful, good luck
For long-term use of Synology NAS, I recommend that you set up a static ip address
Here are the steps to set up a static ip address for Synology NAS