How to Build Your Own Network Storage and Remote Access Server | WireGuard and OpenMediaVault

William Villain - TW Viagens
11 followers
4 Video Views·Dec 2, 2024
I have three hard drives two traditional hard drives for data storage a solid-state drive running
Finding a network storage operating system
To install the operating system I used a USB drive
The operating system used in this case is called open media vault
There are several other operating systems for building a network storage server but I chose open media Vault because
It does not require too expensive Hardware it is suitable for personal
Family or a small business needs
After downloading you use the portable installer tool
You plug in the USB drive and browse to the downloaded operating system installer
After a few minutes you will have a bootable installer
What are the steps to install a network storage operating system on your computer
Make sure you have added three hard drives to the Target computer you can connect multiple drives hard
Live if you want
You are asked to create a password for the Ruth account it will be used when
Can you access it via the command window interface with it you can install some Advanced applications compared to
To the graphical interface
Here is a list of hard drives on my computer you choose the hard drive that runs the operating system
Of course you choose to install the operating system on the solid state drive for faster speed traditional
National hard drives are used to store data they will be configured in the following steps all data on the
College state drive will be erased in the operating system installed on it
After completing the installation you remove the USB drive and restart the computer
And this is the IP address of the server
And this is the default username and password used to access the server you use this information to
Access it over the network I use another computer in the same internal Network to access it on this
Computer you open any browser and enter the IP address of server
You use the default username and password to access the server management page
Here are some basic settings
Kirani select all the information on the dashboard you can remove some things if you want
I select all because I want to see all the information about the server
I always want to know the performance of the server always want to know about the status of the hard drives and the
Percentage of hard drive usage don't forget to set the time zone because it affects the scheduling of tasks
By default the server is assigned a dynamic IP address so I recommend you set up a static
What's the address the static IP address helps you configure port forwarding for the services in the next steps
Don't forget to add DNS addresses for the device to connect to the external network
With a network storage server you cannot ignore the configuration of hard drives these are the hard
Bribes on the server you ignore the solid state drive running the operating system you only pay attention to
Play two large traditional hard drives more these are the hard drives that store Data before using them
You erase the data on them
Then you can figure the back of more to store the same data on
In both hard drives when one of the two hard drives fails your data is still safe this
What's method does not optimized storage capacity but I prioritize data safety
After completing the backup configuration you format the hard drives
Because this is a Linux operating system they are formatted as above
Next are some advanced settings such as usage warning thresholds and adding notes
If you have different groups of hard drives you should add notes to distinguish them for different uses
Next you create a new shared folder this shared folder is created on the newly formatted group of
Shared folders on the same group of hard drives if there are many
Any groups in your organization you should create separate folders for each group by assigning permissions
After completing the creation of the shared folder you enable the sharing service there are different
Open sharing services on different platforms here I use the SMB sharing service this is the
Sharing service we use most often don't forget to enable the sharing service for the folder you just created in the
Previous step
Does the folder has been shared over the network using the SMB service
But you need an account with access rights to the shared folder therefore you create a new account Accord
According to your own wishes if you use this network sharing server in your organization you have many people
Music together I recommend you create groups and each account belongs to a group at that time you
Define permissions by group and each group is only allowed to access certain shared folders this way of management will be
Will be more effective
Don't forget to add read and write permissions to the newly created account for the shared folder with the above
Steps you have a file storage server in a local network
On the computer in the same local network I access the shared folder on the server to check the result
As you can see I successfully used access to the shared folder over the network with the newly created account
This account has read and write permissions so I can upload or download files
The above are the steps to build a network storage server but it is only used in the local network
If you have members connecting remotely follow the following steps the purpose of this part is to turn the
Work storage server into a virtual private Network server the client connects to the remote server over the internet
You follow the following steps
You update the server operating system you are asked to restart the server to apply the updates
After completing the update you install additional packages by default
The operating system does not have these packages you added to turn it into a VPN server you
These two methods use the same command
Just different ways of doing it
To install a VPN server I use wire guard you install the VPN server
Package as above
After completing the installation a new service will appear on the server management page this service
Hope this helps you create a tunnel to connect the client to the network storage service via the Internet
You create a new tunnel you are asked to set up a name public IP address and port
The name you set up if you like then you find and set up the public IP address you are using if you
Can you use a dynamic IP address I will guide you on how to use a free domain name in The Following steps
Do you have you can change the default Port if you want but in this case I use the default port
After completing the tun
Creation you add new configurations for the clients here I create a new configuration file for the client
Using the computer the client uses the tunnel just created in the previous step
Because my server is on a local network separated from the outside Network buy a router so I can
Gear port forwarding on the router I forward the default port to the server's IP address if in the
Previous step you change the default port to any port then on the router you forward that Port now you create a
Configuration file for the client
You will send this file to the client and use it to establish the connection you copy the above content to
Create the configuration file you know to set the correct file extension
On your computer you download the software from the homepage and install it
After completing the installation you add the configuration file created in the previous step
On
Is computer I connect to another wireless network so the computer in the server are not on the same internal
I will set up a virtual private network connection to access the shared folder over the internet
Remote connection established successfully my computer has an additional IP address assigned by the virtual
Virtual private network connection
I can access the management page using the tunnel not only that I can
Load or download files on the shared folder
Kira I have completed the remote connection to the network storage server as mentioned I will
Dynamic IP address
I use a free Dynamic IP address update service you connect to the server using the domain
Game you use the dynamic domain name Service as above it is completely free
You follow these steps
You open the command window and connect to the server using SSH
You use the admin username and password created when installing the operating system to connect to the server
You can use the task scheduler to install the above package but I find using the command window more effective
After completing you add a new schedule or two update the IP address for the dynamic domain I will update
3 hour so you have solved the dynamic IP address problem you replace the domain name in your own
Go to schedule the update
After completing the schedule or ironic manually to test the service the IP address and
My name have been mapped successfully
With the domain name Service as above I will change the tunnel configuration instead of
I'm using the IP address I use the domain name
I create a new client
This client connects to the server using the name domain
Color to the last time I created a configuration file for the client
As you can see this configuration file uses a domain name instead of an IP address
On the client software I use a new configuration
Russian file to set up a connection as you can see the connection is successful so I have completed how to use
Use the dynamic domain name service to connect to the network storage server over the internet
If you want to connect to the server using a phone how do you do it
You follow these steps on the server I create a new configuration for the client as a mobile device
You know that each client has a different identifier unlike computers mobile devices
Create connections using QR codes here are the steps on mobile devices on the phone you install
What's a client application next you add a connection using QR codes
This method is faster than using the configuration file on the computer
Very quickly you have set up a virtual private network connection to the server on the phone you connect to the
To the shared folder as follows
You make sure to allow the use of the service sharing service when connecting to the internet using mobile data
Then you create a new connection to the shared folder
In addition to this method you can connect to the shared folder without a virtual private Network
This method provides a faster connection but is not secure
It only applies to one important data
You follow these steps
Because I share the folder using SMB service I forward the ports as above
With the above port forwarding method you can access the shared folder over the network
You can connect using a public IP address or a dynamic domain name service
The above are the basic steps to build a network storage server in some ways to access the shared folder remotely
Thank you for watching don't forget to like And subscribe
Good luck
