There are many ways to transfer files between your devices and your NAS. The most popular and obvious method is via FTP. There are other ways as well and one of them is via a software called Seafile. Seafile is similar to the likes of Dropbox where it focuses on syncing files between devices. By running Seafile on your NAS or server, you will be able to host your own Dropbox like service. There are many other free alternatives (ownCloud, Sparkleshare etc) as well but for this article we will be focusing solely on Seafile.
Now that we have set up our basic firewall and port forwarded the necessary ports, we will now learn how to make use of that to enable data communication from outside the local area network (LAN). There are many protocols and ways to do this; SFTP is my chosen method and that is what you will be learning today.
Now that you have learnt how to enable global access to your server, you should prepare your server to be ready for the outside world. There are many different measures that you can take to prevent your server from being compromised. One of the more â€œstraightforwardâ€ methods is to setup a firewall. This tutorial will show you and guide you to do just that.
Ready so say â€œhello worldâ€ proper? In order to access your DIY NAS or home server or game server or whatever that is hosted at your house, you will need to do something called â€œport forwardingâ€. Port forwarding is usually performed and set up at the router level. Since there are hundreds and thousands of routers, I will be recommending you a few sites that you can take reference from. I will be using a popular custom router firmware (DDWRT) to illustrate the different steps that you will need to take in order to forward your ports correctly.
A few days back I wrote a guide about backing up your files locally. This time around, I will be teaching you how to backup your files in a remote location say another NAS in another house. For a clearer understanding, do read up on the previous guide. For this guide, I will jump straight into the steps to backup your files remotely and cut short the explanations that are already done previously.
Now that you have started storing your precious files and data into the NAS, it is time to back it all up. It isnâ€™t fun when you lose all your data. Things such as photos and videos contain precious memories that can never be replaced should they be gone. The most common way to lose your files (unintentionally) is through HDD failure. Sometimes you can spot a dying HDD but in other cases, they just come and go without any warnings. It is thus vital to store the files in at least two locations. Today, I will be teaching you to do just that. Time to learn how to setup a scheduled backup of your files!
The next step to making your DIY NAS serve its purpose is to format and add those hard drives (HDD) to the system. You have them all plugged in the different SATA ports and so now it is time to make your operating system acknowledge them and make use of them. For this guide, I will only be going through the steps to format the HDD by itself and not make use of any RAIDs. RAID will be discussed in a later part. Once the drive is formatted and mounted, I will then go on to show you how you can set up your Samba File Server to start serving up those files to your network. Read on to continue the guide. All of this might be a tedious job to execute, especially with HDDs, which are delicate pieces of technologies. Such hindrances have led the storage industry into developing a new game changer: Hybrid Cloud Architecture: What Is It and Why Should You Care.