LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-15-2011, 07:18 PM   #1
tjl30
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
iceflatline
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
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
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
travisdh1
Member
 
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
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Just one side note:
Quote:
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.
 
  


Reply

Tags
nas, raid, vpn



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:57 AM.

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