hello, welcome to NETVN
In this video I show you how to install TrueNAS core on your computer and how to remotely access it over the internet
First you go to truenas homepage and download the latest installer
And here is the installer after it is downloaded
You need a USB drive of at least 4GB in size to create a bootable installer
Next you download software called Rufus to create a bootable installer
In this video I use an 8 GB USB drive
You open Rufus software, select the target USB drive, then browse to the downloaded installer
After a few minutes you will have a bootable TrueNAS installer
Then you plug the USB stick into the target computer and start the installation
You access the target computer's UEFI BIOS and set it to boot from a USB drive
Save your changes and restart your computer
And here are the steps to install TrueNAS core
It will display the list of hard drives on your computer
There are 3 hard drives on this computer
Including a solid-state drive to install TrueNAS core
Next are two traditional 1TB hard drives for data storage
During the installation you are asked to create an admin account, it will be used in the following steps so don't forget it
And this is the ip address of TrueNAS core
From another computer on the same local network, I open any browser and access TrueNAS core using the ip address
Username is root
You use the admin password set up in the previous step to access TrueNAS
The first thing for a NAS server is to configure the storage
You create a new pool
You name it as you like
Next, you choose the hard drives to create a new pool
As mentioned in the previous step, I use two traditional hard drives to store data
Then I create a new dataset to create a shared folder for the Windows operating system
Next I configure sharing for Windows operating system
It is also known as SMB
You browse to the newly created folder and activate the SMB service
Next, you create a new account and assign it permission to access the shared folder
Here I create a new account with the username netvn
Don't forget to give this account permission for the shared folder
Windows sharing configuration is complete, now check the results
Shared folder access successfully and can upload data
But as you can see it only works in local network
So how to access TrueNAS from outside the internet?
There are a few ways to solve it but in this video I show you how to configure no port forwarding on the router
To do that I use Zerotier
It helps me create a virtual private network without port forwarding on the router
You open the command window on TrueNAS core management page and use the above commands
These statements are divided into 5 steps
Step 1 helps you to install zerotier on TrueNAS
You use the Shift Insert key combination to paste the command lines
Zerotier has been installed on TrueNAS but by default it is not running
You enable zerotier service on TrueNAS
The zerotier service configuration will be deleted upon restart of TrueNAS so move the configuration files
You create a new folder on your pool and move the zerotier configuration files
Time to create a new virtual private network
You sign up for a free zerotier account
Here I use my Gmail account to sign up for a free account
After successful login, I create a new virtual private network and name it TrueNAS
This is the newly created virtual private network identifier
You use it to help TrueNAS join this virtual private network
On the virtual private network management page you allow TrueNAS to join this virtual private network and give it a name
Next I use a phone that joins this virtual private network
On your smartphone you download the app called Zerotier One
This app is available on Apple Store and Play Store
You configure this smartphone to join the virtual private network using the virtual private network identifier created in the previous step.
Just like last time, on the management page you allow the smartphone device to join this network
So there are two devices joining this virtual private network
On your smartphone you can access the TrueNAS management page using the ip address provided by zerotier
Not only that, you can upload or download the folder data that I created in the previous step
To do so you install an SMB client on your smartphone
Here I have installed an SMB client and I will configure it to access the shared folder on TrueNAS
You enter the ip address provided by zerotier to TrueNAS
To access the shared folder you need to further configure the folder name, username and password
Configuration complete, I check the results
That way I can access the shared folder on TrueNAS through the internet
Also I can upload or download files from anywhere
With zerotier you can remotely access TrueNAS without forwarding ports on the router
And here are the last but also very important configuration steps
These commands make zerotier automatically run the service every time TrueNAS starts
You download the script file
Then you configure permissions for this script file
Next, you configure the script file to run automatically every time TrueNAS starts
Above are the steps to install TrueNAS core on the computer and how to configure it for remote access
Thanks for watching, don't forget to like and subscribe
I restarted TrueNAS and checked the results
Everything works fine, good luck