diy home network taylor rogers eastern kentucky university may 6, 2013

32
DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

Upload: mercy-nicholson

Post on 26-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

DIY HOME NETWORK

Taylor RogersEastern Kentucky University

May 6, 2013

Page 2: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

2

OUTLINE

Network Layout Smoothwall Express 3.0

Hardware Software/Features

FreeNAS Hardware Software

Page 3: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

3

OUTLINE

Raspberry Pi Media Center Hardware What you’ll need XBMC

Wireless

Page 4: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

4

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.

Page 5: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

5

INTRODUCTION

Background: Computer Electronics &

Networking Research:

Distribution comparisons System requirements PC Hardware compatibilities Raspberry Pi Setup procedures for software

Page 6: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

6

INTRODUCTION

Examples of Bias in sources: Hak5 prefers Smoothwall Lifehacker : Raspbmc :: Engadget :

OpenELEC Essential theory:

PC construction/troubleshooting OS installation Networking, subnets

Page 7: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

7

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

Page 8: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

8

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

Page 9: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

9

PROBLEM STATEMENT

Specifications continued: Inexpensive, networked media center Media center should stream from NAS Control media center with iOS devices

Page 10: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

10

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

Page 11: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

11

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

Page 12: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

12

PROPOSED SOLUTION

Page 13: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

13

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

Page 14: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

14

PROPOSED SOLUTION Hardware: Dell

4600 Series Released May

2003 Pentium 4 @

2.8GHz 512MB RAM 80GB Storage (added) TP-Link

Gigabit PCI NIC

Page 15: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

15

PROPOSED SOLUTION

Some Default features: Traffic Monitoring IM, POP3, SIP proxies QoS VPN Ping, WhoIs Shell Interface settings DHCP

Page 16: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

16

PROPOSED SOLUTION Installed Features:

Advanced Proxy Cache Data Throttling Timed Access

URL Filter Block by content Block by address –

white & black lists Calamaris

Report tool

Page 17: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

17

PROPOSED SOLUTION

FreeNAS “The Most Potent & Rock Solid

Open-Source 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

Page 18: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

18

PROPOSED SOLUTION

Hardware: Custom MSI 970A-G46 Motherboard

AM3+ Socket, 32GB RAM Support (4x240-pin), 6 x SATA 6Gb/s, onboard Gigabit Realtek NIC

AMD FX 4170 CPU Quad-core 4.2GHz

Kingston HyperX Blu 8GB RAM Dual Channel @ 1333MHz

Page 19: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

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

Page 20: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

20

PROPOSED SOLUTION Setup:

ZFS CIFS/SMB

Home > Taylor Folders:

Backup Media

Music Movies Photos

Page 21: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

21

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

Page 22: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

22

PROPOSED SOLUTION

What you’ll need:

Page 23: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

23

PROPOSED SOLUTION

XBMC Open-source media center solution Distributions: xbian, Raspbmc,

OpenELEC OpenELEC boots faster & has

snappier menu navigations on the Pi than Raspbmc

Page 24: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

24

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)

Page 25: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

25

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)

Page 26: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

26

RESULTS

Page 27: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

27

CONCLUSIONS

In the workplace: Smoothwall:

Traffic Monitoring, blocking, QoS IP reservations

FreeNAS: Free central storage, integrates with

AD User access permissions, network

segmentation Raspberry Pi:

Seek open-source solutions to problems

Page 28: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

28

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)

Page 29: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

29

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

Page 30: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

30

REFERENCESThe 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-proxy-and-filter

Page 31: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

31

QUESTIONS/COMMENTS

Page 32: DIY HOME NETWORK Taylor Rogers Eastern Kentucky University May 6, 2013

DIY HOME NETWORK

Taylor RogersEastern Kentucky University

May 6, 2013