320 likes | 473 Views
DIY home network. Taylor Rogers Eastern Kentucky University May 6, 2013. OUTLINE. Network Layout Smoothwall Express 3.0 Hardware Software/Features FreeNAS Hardware Software. outline. Raspberry Pi Media Center Hardware What you’ll need XBMC Wireless. MOTIVATION.
E N D
DIY home network Taylor Rogers Eastern Kentucky University May 6, 2013
OUTLINE • Network Layout • Smoothwall Express 3.0 • Hardware • Software/Features • FreeNAS • Hardware • Software
outline • Raspberry Pi Media Center • Hardware • What you’ll need • XBMC • Wireless
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.
INTRODUCTION • Background: • Computer Electronics & Networking • Research: • Distribution comparisons • System requirements • PC Hardware compatibilities • Raspberry Pi • Setup procedures for software
introduction • Examples of Bias in sources: • Hak5 prefers Smoothwall • Lifehacker : Raspbmc :: Engadget : OpenELEC • Essential theory: • PC construction/troubleshooting • OS installation • Networking, subnets
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
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
Problem statement • Specifications continued: • Inexpensive, networked media center • Media center should stream from NAS • Control media center with iOS devices
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
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
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
Proposed solution • Hardware: Dell 4600 Series • Released May 2003 • Pentium 4 @ 2.8GHz • 512MB RAM • 80GB Storage • (added) TP-Link Gigabit PCI NIC
Proposed solution • Some Default features: • Traffic Monitoring • IM, POP3, SIP proxies • QoS • VPN • Ping, WhoIs • Shell • Interface settings • DHCP
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
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
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 HyperXBlu 8GB RAM • Dual Channel @ 1333MHz
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
Proposed solution • Setup: • ZFS • CIFS/SMB • Home > Taylor • Folders: • Backup • Media • Music • Movies • Photos
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
Proposed solution • What you’ll need:
Proposed solution • XBMC • Open-source media center solution • Distributions: xbian, Raspbmc, OpenELEC • OpenELEC boots faster & has snappier menu navigations on the Pi than Raspbmc
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)
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)
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
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)
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
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-proxy-and-filter
DIY home network Taylor Rogers Eastern Kentucky University May 6, 2013