Group Presentation Guidelines -

Download Report

Transcript Group Presentation Guidelines -

DIY HOME NETWORK
Taylor Rogers
Eastern Kentucky University
May 6, 2013
OUTLINE


Network Layout
Smoothwall Express 3.0



Hardware
Software/Features
FreeNAS


Hardware
Software
2
OUTLINE

Raspberry Pi Media Center




Hardware
What you’ll need
XBMC
Wireless
3
MOTIVATION
My fiancé and I are getting married in October.
Through the course of this semester, I hoped
to design and implement a home network
that could be used in our new home.
I wanted this project to have real-world
applications that would be useful in our
home.
It was important for me to use the knowledge
and skills I had to learn something new or do
something I have never done.
4
INTRODUCTION

Background:


Computer Electronics & Networking
Research:





Distribution comparisons
System requirements
PC Hardware compatibilities
Raspberry Pi
Setup procedures for software
5
INTRODUCTION

Examples of Bias in sources:



Hak5 prefers Smoothwall
Lifehacker : Raspbmc :: Engadget :
OpenELEC
Essential theory:



PC construction/troubleshooting
OS installation
Networking, subnets
6
PROBLEM STATEMENT

Problem:


The need for a secure, reliable home
network
Specifications:

Filter incoming ISP WAN data
through an open-source
firewall/router into a LAN
environment
7
PROBLEM STATEMENT

Specifications continued:






Web filtering – content, URL
Access restrictions
DHCP for the LAN
Report generating capabilities
Secure wireless networking
Centralized network storage for media and
backups
8
PROBLEM STATEMENT

Specifications continued:



Inexpensive, networked media center
Media center should stream from NAS
Control media center with iOS devices
9
ASSUMPTIONS



Home owner wants a media center
and central storage
Home has an ISP
Two PCs needed:



User has access to an unused PC
(OR)
User can part and assemble a PC (or
both)
User owns a Raspberry Pi
10
ASSUMPTIONS

Smart device(s) on hand for remotely
controlling XBMC – iOS, Android


App store, Google store account
The user is capable of compensating for
lack of knowledge by using the
resources available at their disposal
11
PROPOSED SOLUTION
12
PROPOSED SOLUTION

SMOOTHWALL EXPRESS 3.0



Open-source firewall/router
Compared to: Monowall, Untangle,
pfSense
Operates on low-end hardware




Intel Pentium 200/compatible
128 MB RAM
2GB Storage
Multiple NICs
13
PROPOSED SOLUTION

Hardware: Dell 4600
Series





Released May 2003
Pentium 4 @ 2.8GHz
512MB RAM
80GB Storage
(added) TP-Link
Gigabit PCI NIC
14
PROPOSED SOLUTION

Some Default features:








Traffic Monitoring
IM, POP3, SIP proxies
QoS
VPN
Ping, WhoIs
Shell
Interface settings
DHCP
15
PROPOSED SOLUTION

Installed Features:

Advanced Proxy




URL Filter



Cache
Data Throttling
Timed Access
Block by content
Block by address –
white & black lists
Calamaris

Report tool
16
PROPOSED SOLUTION

FreeNAS



“The Most Potent & Rock Solid OpenSource NAS Software”
UFS vs. ZFS filesystems
Sharing Protocols:



CIFS/SMB – Windows, OSX, Unix-like
NFS – Unix-like, third party Windows clients
AFP – OSX, clients for Unix-like, some
Windows
17
PROPOSED SOLUTION

Hardware: Custom

MSI 970A-G46 Motherboard


AMD FX 4170 CPU


AM3+ Socket, 32GB RAM Support (4x240pin), 6 x SATA 6Gb/s, onboard Gigabit
Realtek NIC
Quad-core 4.2GHz
Kingston HyperX Blu 8GB RAM

Dual Channel @ 1333MHz
18
PROPOSED SOLUTION

Hardware: Custom





Western Digital 1TB
CAPSTONE 650 Watt
PSU
Lite-On DVD Burner
Coolermaster Hyper
212 Plus CPU
Heatsink and Fan
Zalman Steel Case
19
PROPOSED SOLUTION

Setup:




ZFS
CIFS/SMB
Home > Taylor
Folders:


Backup
Media



Music
Movies
Photos
20
PROPOSED SOLUTION


RASPBERRY PI MEDIA CENTER
Hardware: Model B rev 2 ($35)






ARM1176JZF-S @ 700MHz
512MB RAM
SD Card slot
HDMI
2 USB ports
RJ45 jack
21
PROPOSED SOLUTION

What you’ll need:
22
PROPOSED SOLUTION

XBMC



Open-source media center solution
Distributions: xbian, Raspbmc,
OpenELEC
OpenELEC boots faster & has snappier
menu navigations on the Pi than
Raspbmc
23
PROPOSED SOLUTION

WIRELESS:





802.11a/b/g/n
300Mbs
WPA2 PSK with AES encryption
Can be used as an AP, repeater, or
bridge
Connects to Gigabit Switch (GREEN side
of network)
24
RESULTS
The home now has a fully-functional
network with a perimeter
router/firewall, central storage for
backup and media safekeeping, a
cheap media streaming solution, and
secure wireless networking
(For images and demonstration, see
video)
25
RESULTS
26
CONCLUSIONS

In the workplace:

Smoothwall:



FreeNAS:



Traffic Monitoring, blocking, QoS
IP reservations
Free central storage, integrates with AD
User access permissions, network
segmentation
Raspberry Pi:

Seek open-source solutions to problems
27
FUTURE WORK

Possible Project Extensions:
 Provide for solely gigabit NICs & connections
 Upgrade from Smoothwall
 Upgrade switches to Cisco
 Add more storage to NAS and segment the
permissions more
 Have another slice of Raspberry Pi
 VPN
 Retro Arcade
 Pandora Jukebox
 CUPS (Common Unix Print System)
28
CONCLUSIONS

What I’ve learned:






Successfully building a PC from custom parts
Perimeter router/firewall installation and
configuration
Raspberry Pi basics, XBMC, home media
servers
How to use NAS
Time management
Project planning
29
REFERENCES
The Perfect XBMC Installation On Your Raspberry Pi. (2013, March 3). Retrieved from Gaducated:
http://www.gaducated.com/the-perfect-xbmc-setup-on-the-raspberry-pi/
Bradley, T. (2011, May). Get PC Security on a Shoestring. PC World, pp. 35-36.
Browning, J. (2012, February 1). How-To: Set up a home file server using FreeNAS . Retrieved from
Dachis, A. (2013, January 21). A Beginner's Guide To DIYing with the Raspberry Pie. Retrieved from Lifehacker:
http://lifehacker.com/5976912/a-beginners-guide-to-diying-with-the-raspberry-pi
Gordon, W. (2013, January 22). Turn a Raspberry Pi Into an XBMC Media Center in Under 30 Minutes. Retrieved from
Lifehacker: http://lifehacker.com/5929913/build-a-xbmc-media-center-with-a-35-raspberry-pi
Hak5Darren. (2010, June 16). Hak 5: Building a high performance home router. Retrieved from Youtube:
http://www.youtube.com/watch?v=71S9fek0FKA
Mainelli, T. (2008, October). Network-Attached Storage on the Cheap. . PC World, p. 28.
Mitchell, G. (2012, April). The Raspberry Pi single-board computer will revolutionise computer science teaching.
Engineering and Technology, p. 26.
RoboOx. (n.d.). Setup Smoothwall Express 3.0 as a second layer web proxy and filter. Retrieved from SpiceWorks:
http://community.spiceworks.com/how_to/show/3073-setup-smoothwall-express-3-0-as-a-second-layer-web-proxyand-filter
30
QUESTIONS/COMMENTS
31
DIY HOME NETWORK
Taylor Rogers
Eastern Kentucky University
May 6, 2013