Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-15-2011, 07:18 PM   #1
LQ Newbie
Registered: Sep 2006
Posts: 9

Rep: Reputation: 0
Question Building a storage and vpn server on the cheap

I am trying to figure out the best server configuration for the following:
  • Low power (I want to plug the server in and forget about it)
  • High redundancy of data (I don't want to loose my music and documents!)
  • The ability to stream music + movies to laptop (maybe subsonic or Jinzora)
  • VPN server with IPsec or OpenVPN
  • NAS
  • $800 budget
  • 2TB with ability to add more drives

My idea:
  • Unix Server with software RAID (maybe RAID6)
  • VPN setup on virtual OS via VirtualBox
  • NAS setup on virtual OS via VirtualBox

My Questions:
  • What would be the best raid configuration if I wanted at least 2TB of data and the ability to add more disks when the space begins to add up?
  • What would be the best OS to use for setting up a software RAID (is a FakeRAID a better solution)?
  • Does it make more sense to separate the VPN and NAS with different OS's?
My goal will be to access my data from any computer from anywhere but mostly just my Laptop from work. Suggested Hardware and Software for this configuration or better ideas for configuration would be greatly appreciated!
Old 05-15-2011, 07:52 PM   #2
LQ Newbie
Registered: Aug 2009
Distribution: many
Posts: 16

Rep: Reputation: 2
You might consider FreeNAS. No VPN support but you likely have support for that already in your gateway/router.
Old 05-16-2011, 09:53 AM   #3
Senior Member
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,330

Rep: Reputation: 254Reputation: 254Reputation: 254
You can enable SSH (maybe on an unusual port) in FreeNAS and use it to create a tunnel for certain ports, while blocking the additional services on the default ports by a firewall rule in FreeNAS. So one must use an SSH tunnel to access a service.
Old 05-16-2011, 10:37 AM   #4
Registered: Sep 2008
Distribution: Fedora
Posts: 129

Rep: Reputation: 22
I've become a big fan of zfs. It's working well for me on Fedora machines with 4+ storage drives and it's just so much easier to deal with. Want to add another drive, one command to run and you're done, no more mucking around resizing lvm volumes and the like.

Google search "zfs linux"
Old 05-16-2011, 10:52 AM   #5
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857Reputation: 4857
Just one side note:
High redundancy of data (I don't want to loose my music and documents!)
A RAID is not a way to securely store data. It is intended to reduce downtimes. A faulty disk-controller, a bug in the controller driver or OS, or just an user error can easily cause severe data-loss. If you don't want to loose your data the you have to back it up to a different medium/machine.


nas, raid, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Storage over VPN & Locally, Print Server & Mail Server parry1234 Linux - Server 0 10-26-2010 08:55 AM
A question on building a cross platform VPN server depam Linux - Software 2 03-26-2006 07:45 PM
Building a cheap PC JonCooperUK Linux - Hardware 3 03-24-2004 05:12 PM
Building a cheap network-attached storage system Travis86 Linux - Networking 5 03-14-2003 12:42 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration