08-21-2010
Linux NAS HowTo suggestions?
Hello -
I'm looking for a VPN/NAS howto guide or solution that you can recommend. I've looked at FreeNAS, and am considering it, but not sure it does everything I need.
Scenario: We are looking to build a NAS in our office from a linux machine on a limited budget.
Our office is behind a router with NAT from a single IP that is also a NAT address.
ie - public IP is 2 routers away, one I control, the other I don't.
These are our primary requirements.
1) VPN from home(anywhere) into office to access office folders.
2) SSH from home(anywhere) to access the machine.
3) Allow SSH/RSYNC backups from other servers (remote webserver backups)
4) RAID with mirroring at a minimum (RAID 1 or RAID 1+0 or RAID 5+1)
5) Firewalled to allow only SFTP, RSYNC, SSH, VPN and SAMBA access
Is this just a matter of installing my favorite linux distro, and installing/configuring the proper software (SSH, RAID, SAMBA, IPTABLES, etc)?
Or is a complete solution like FreeNAS the way to go?
Thanks,
Matt
PS my Linux admin skills are intermediate level, so I can figure out most things if I have a good direction of what to do.
9 More Discussions You Might Find Interesting
1. Linux
i have linux bootable cd.
I want similar bootalbe cd with some chnage in the disk. i.e, some file from the old cd has to replaced in newer one.
how do i do it? (3 Replies)
Discussion started by: yogesh_powar
3 Replies
2. Linux
All,
I am most familiar with Solaris, and I am in the process of learning Linux (Fedora 5), and one of my tasks is to replace our current NAS solution. We currently use EMC Celerra, but it is way too expensive for what we use it for. So I have looked into Linux.
We mostly we have a Windows... (1 Reply)
Discussion started by: kjbaumann
1 Replies
3. UNIX for Dummies Questions & Answers
I read many scripts for ftp commands but none to copy directories!
I need help to copy a directory to a nas!
Ty (1 Reply)
Discussion started by: ArTuRiX
1 Replies
4. Hardware
Before posting questions about Linux hardware, it is a good idea to check the Linux Hardware HOWTO guide (Last Update: 2007-05-22)
However, this HOWTO has not been maintained since 2007 and it out-of-date. (0 Replies)
Discussion started by: Neo
0 Replies
5. IP Networking
The Linux resolver queries all nameservers in the order they are listed in /etc/resolver.conf.
If a nameserver times out, it advances on to the following nameserver.
But, if a nameserver returns "not found" (NXDOMAIN) it stops.
This behaviour is problematic when you need to resolve names from... (0 Replies)
Discussion started by: colemar
0 Replies
6. Linux
I have been working linux administration for 2.5 years. I would like to have a certification in this. Yes RHCE is an option. I think already know most of the RHCE stuff.
But I would like to have some thing advanced. I ready to for a full time course as I not getting the exposure in my current... (2 Replies)
Discussion started by: nitin09
2 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I recently downloaded the Linux kernel source code, added them all to a project in MS VC++ and plan to read through it so that I can improve the way I code, read/understand a large code database and hopefully contribute something to the development of the Linux OS.
I have taken a... (3 Replies)
Discussion started by: clavian
3 Replies
8. Shell Programming and Scripting
Hi every body!
I would like to get only filename in the result of find command in Linux but I don't know howto. Tks so much for your helps. (5 Replies)
Discussion started by: nguyendu0102
5 Replies
9. Linux
Hi all,
I am sorry if this is a repetitive question and would be happy if I get directed to a source where I can find details about this.
I have a laptop with windows 8, 8 GB RAM and 1 TB hard disk with most of the memory available for use.
I am trying to find a good option to install Linux... (8 Replies)
Discussion started by: pat_pramod
8 Replies
LEARN ABOUT CENTOS
rlm_expr
rlm_expr(5) FreeRADIUS Module rlm_expr(5)
NAME
rlm_expr - FreeRADIUS Module
DESCRIPTION
The rlm_expr module allows the server to perform limited mathematical calculations. This module is not called directly in any section, it
is invoked through the dynamic expansion of strings.
For example, some NAS boxes send a NAS-Port attribute which is a 32-bit number composed of port, card, and interface, all in different
bytes. To see these attributes split into pieces, you can have an entry in the 'users' file like:
DEFAULT
Vendor-Interface = `%{expr: %{NAS-Port} / (256 * 256)}`,
Vendor-Card = `%{expr: (%{NAS-Port} / 256) %% 256}`,
Vendor-Port = `%{expr: %{NAS-Port} %% 256}`
where the attributes Vendor-Interface, Vendor-Card, and Vendor-Port are attributes created by either you or a vendor-supplied dictionary.
The methematical operators supported by the expression module are:
+ addition
- subtraction
/ division
%% modulo remainder
* multiplication
& boolean AND
| boolean OR
() grouping of sub-expressions
NOTE: The modulo remainder operator is '%%', and not '%'. This is due to the '%' character being used as a special character for dynamic
translation.
NOTE: These operators do NOT have precedence. The parsing of the input string, and the calculation of the answer, is done strictly left to
right. If you wish to order the expressions, you MUST group them into sub-expression, as shown in the previous example.
All of the calculations are performed as unsigned 32-bit integers.
CONFIGURATION
modules {
...
expr {
}
...
}
...
instantiate {
...
expr
...
}
SECTIONS
instantiate
FILES
/etc/raddb/radiusd.conf
SEE ALSO
radiusd(8), radiusd.conf(5)
AUTHOR
Chris Parker, cparker@segv.org
5 February 2004 rlm_expr(5)