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 DEBIAN
radzap
RADZAP(1) FreeRadius Daemon RADZAP(1)
NAME
radzap - remove rogue entries from the active sessions database
SYNOPSIS
radzap [-d raddb_directory] [-h] [-N nas_ip_address] [-P nas_port] [-u user] [-U user] [-x] server[:port] secret
DESCRIPTION
The FreeRadius server can be configured to maintain an active session database in a file called radutmp. Commands like radwho(1) use this
database. Sometimes that database can get out of sync, and then it might contain rogue entries. radzap can clean up this database.
As of FreeRADIUS 1.1.0, radzap is a simple shell-script wrapper around radwho(1) and radclient(1).
The sessions are "zapped" by sending an Accounting-Request packet which contains the information necessary for the server to delete the
session record. radzap sends a packet to the server, rather than writing to radutmp directly, because session records may also be main-
tained in SQL.
OPTIONS
-d raddb_directory
The directory that contains the RADIUS configuration files. radzap reads radiusd.conf to determine the location of the radutmp
file.
-h Print usage help information.
-N nas_ip_address
Zap the entries which match the given NAS IP address.
-P nas_port
Zap the entries which match the given NAS port.
-u user
Zap the entries which match the given username (case insensitive).
-U user
Zap the entries which match the given username (case sensitive).
-x Enable debugging output.
server[:port]
The hostname or IP address of the remote server. Optionally a UDP port can be specified. If no UDP port is specified, it is looked
up in /etc/services. The service name looked for is radacct for accounting packets, and radius for all other requests. If a service
is not found in /etc/services, 1813 and 1812 are used respectively.
secret The shared secret for this client. It needs to be defined on the radius server side too, for the IP address you are sending the
radius packets from.
SEE ALSO
radwho(1), radclient(1), radiusd(8), radiusd.conf(5).
AUTHOR
Alan DeKok <aland@ox.org>
8 April 2005 RADZAP(1)