Iâ€™ve moved from a shared hosting provider to a virtual private server (VPS) provider for quite some time already. Having purchased an unmanaged solution, I had to learn how to set everything up myself. The first time was pretty time consuming as I was worried mainly about security and thus spent much time researching for the best practises before letting my VPS go live. Since then, Iâ€™ve moved host twice and during these moves, I spent much time again doing the very same thing. Not wanting to spend any more wasted time researching the same things over and over again, I decided to document the steps I took. Here are some steps that you can consider and follow before letting your VPS or DIY NAS go live.
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.
Did you know that there are other smart phone OSes besides Google’s Android, Apple’s iOS and Microsoft’s Windows? Mozilla’s Firefox OS is one of the up and coming mobile OS. Together with that, we have the Ubuntu OS for phones. Introducing Ubuntu Edge, a phone that’s not a phone. With the ability to dual boot both Ubuntu phone OS and android, the Ubuntu Edge can also act as a fully functional Ubuntu desktop PC. A phone? Nah, a mobile device rather. Read on for the introductory video.
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.