Home networks are rapidly becoming more complex and taking on the characteristics of small enterprise networks. My network has almost 30 IP connected devices ranging from PCs to smart TVs to Internet of Things (IoT) which are notorious for poor security safeguards. I completely disabled remote access and held off buying a NAS over security concerns. A network upgrade was needed for better security, management and monitoring.
My home network used to be fairly simple – a cable modem, consumer-grade WiFi router and PoE switch in a “flat network” configuration. This worked well enough but lacked many advanced features and capabilities including long-term manufacturer support, regular firmware updates to fix security vulnerabilities, firewall, traffic monitoring, logging, VLAN and OpenVPN support. After extensive research I chose the Ubiquiti EdgeRouter Lite due it’s excellent performance, robust features, sub $100 price and extensive user support.
The EdgeRouter Lite is a high-end consumer / small business class device that has a fairly steep learning curve if you’re not a “router guy” (or girl) who configures networks on a regular basis. I learned by reading the User Guide (.pdf) which is mainly a GUI walk-through) and especially the EdgeMAX forums, Knowledge Base, Layman’s firewall explanation and Vyatta Firewall Reference Guide. The Vyatta Firewall Best Practices Guide is also helpful. The EdgeRouter operating system is based on Vyatta 6.3 so the firewall guides are relevant.
Ubiquiti EdgeRouter Lite Home Network Design
It’s tempting to plug in the router and begin configuring the network but that will likely result in confusion and problems. “If you fail to plan, you are planning to fail.” – Benjamin Franklin. A methodical and well documented approach is best.
Define the Network Requirements
I began by defining my network requirements. What do I want from my home network? What applications and services should it support? My requirements are:
- Fast – ready for 1 Gigabit Internet.
I currently have 120 Mbps download / 24 Mbps upload cable modem service but looking forward to affordable 1 Gbps Internet service.
- Security – configurable firewall with logging to drop “bad” Internet traffic, thwart hackers and scanners, isolate Guest WiFi and manage Internet of Things (IoT) devices that I don’t fully trust.
- Secure Remote Access – I wanted a highly secure and encrypted means for Internet remote access to my home network from my iPhone and laptop. The EdgeRouter supports OpenVPN which is configured to listen on TCP Port 443 so it looks like normal HTTPS web traffic to get through corporate firewalls that otherwise block VPNs.
- A corollary is port-forwarding shall NOT be enabled. All remote access must go through the VPN tunnel.
- VLAN Support – to isolate and segment the LAN network for performance and security. No more “flat networks” for me.
- WiFi – The majority of home network devices are wireless. Guest and private wireless network support, fast 802.11ac, VLAN support and network management/monitoring capabilities. The UniFi Access Point fit the bill.
I inventoried all of my network clients (desktop/laptops, printer, network video recorder/cameras, home automation controller, Ethernet wall jacks, etc. etc.) and created an Excel spreadsheet itemizing the make, model #, MAC address, Serial #, port number/service, firmware version (only if manual upgrades are required), user name, password and LAN IP address (dynamic or manual/static assignment). It’s the only way to keep track because everything has to be migrated from the old network and assigned to a new VLAN, subnet and static LAN IP if not dynamically assigned.
EdgeRouter Lite (ER3) Home Network Design
My home network diagram was inspired by the EdgeMAX – VLAN Walkthrough with EdgeSwitch using Sample Enterprise Topology tutorial. It was drawn in Microsoft Visio using the EdgeMAX stencils:
This layout is called a “router on a stick“. The network diagram defines the key information needed to configure and managed the network:
- Physical ports and connectivity.
- VLAN IDs and IP subnets.
- EdgeSwitch 802.1Q VLAN connections and attached network clients.
- Dynamic DNS (DDNS) host name.
- WiFi SSIDs
- Firmware versions so I know what’s installed when an upgrade is needed.
- Login credentials – although having this in the diagram acceptable for my personal use, good security practice would document this information elsewhere. The diagram is sanitized for publication. I deleted the “ubnt” factory default Admin user account as you should too.
EdgeRouter Lite Physical Network
The physical network is mounted in a 19 inch wide by 22 RU wall mount rack. Two APC Smart-UPS SMX750 Rack/Tower battery backup units are on the floor (not shown) to power the rack:
The EdgeRouter Lite is rack mounted using the WaveGuard Universal Rackmount adapter.
My network components are:
- Ubiquiti EdgeRouter Lite
- Ubiquiti EdgeSwitch ES-24-250W
The EdgeSwitch also provides PoE+ to power the UniFi Access Point and security cameras.
- Ubiquiti Networks UniFi AC Enterprise WiFi System – UAP-AC
- Tripp Lite Expandable Wall-Mount 2-Post Open Frame Rack
- StarTech 2U Universal Vented Rack Mount Cantilever Shelf for 19-Inch Server Racks
The shelf is needed for the cable modem, home automation controller, Vonage ATA and other desktop devices.
- Cables To Go Horizontal Cable Management Panel
- Cable Matters 5-Color Combo, 7 feet Cat6 Snagless Ethernet Patch Cable
A set of 1 ft and 3 ft patch cables is also beneficial for making short connections between rack equipment.
- CyberPower Rackmount Power/Surge Strip – 12-Outlet 15A 1800VA
- Two (2) APC Smart-UPS 750VA 600W 120V Rack/Tower Battery Backup Power Supply (SMX750)
The CyberPower strip is plugged into one APC SMX750 for rack power. The 2nd SMX750 provides battery backup for non-critical devices including my desktop computer (for controlled shutdown so I don’t lose my work), Vonage ATA (everyone has a cell phone) and Insteon home automation controller (powerline devices don’t work when there’s a power outage).
UniFi Access Point Ceiling Mount
The UniFi Access Point is mounted on drywall ceiling in the upstairs hallway. The WiFi signal strength is excellent throughout the house including the basement:
I installed the metal backing plate between the attic joists where there aren’t any 120VAC electric cables that could cause interference with the Cat6 UTP (Unshielded Twisted Pair) cable. The backing plate is normally intended for use with drop ceiling acoustic tiles but I liked it better than using the included plastic drywall anchors. It was simple enough to place the plastic mounting bracket against the ceiling in the upstairs hallway, mark and drill four 1/8 inch dia holes for the M3x50 flat head screws, then install the screws and tighten the lock nuts. A 1/2 inch dia hole was drilled to feed the Cat6 cable and Ethernet plug through the ceiling. I left a generous length of cable inside the attic for a service loop:
The Cat6 cable is plugged into the UniFi Access Point (AP) then the AP is snapped onto the plastic mounting bracket:
EdgeRouter Lite External Cooling Fan
The EdgeRouter Lite doesn’t have an internal cooling fan and can get very warm; this is normal. As an upgrade I bought a Coolerguys Quiet 120mm AC Powered Receiver/Component Cooling Fan. The fan operates on 5 volts DC from the included power supply. It’s absolutely quiet and vibration free. I set the fan on top of the EdgeRouter so it blows downward forcing air into the top vents and out the rear vents:
The fan does an amazing job! The EdgeRouter case now feels cool to my touch:
Side view of the 120mm cooling fan sitting on the EdgeRouter Lite:
This project is continued in Ubiquiti EdgeRouter Lite SOHO Network Configuration.
Copyright © 2016 HandymanHowTo.com Reproduction strictly prohibited.