Building a pfsense router

Background

I need a new router. That's it, I just need a new router. I was previously using Google WiFi which did the job but I felt that it was limited for a power user like me who has over 50 devices and plans to add more in the future as I work in the field of technology. Google WiFi is great for people who just want a simple and easy wi-fi solution. It's a set it and forget it approach to wireless and it's easy for anyone to setup.

I currently have over 50 devices on my network and Google WiFi is super limited to controlling and managing these devices. The default IP range is 192.168.86.XXX /24 and you cannot change this to a 10.X.X.X /8 or even to a simple 192.168.1.XXX /24 range. There are also major problems with how Google WiFi is fully cloud-based and how a simple mistake on Google's end can destroy your entire network configuration.

Some reasons why I WANTED a new router

  • Future? Smart Home
  • Control and Customization
  • Caching
  • Speed Increases

Off the shelf routers suck in terms of hardware and Google WiFi has decent hardware. My only option was to build my own router. I currently have Comcast Blast! which gives me 200Mbps down and 10Mbps up. I have over 50 devices and these devices need packets moving. Building my own router was my only option and I needed something that was power efficient, small, and powerful. 

The Hardware

Let's get started on what hardware I choose for my router. I decided to go with the PCEngine's APU2 board which is based on an AMD Quad-Core APU. 

I purchased the APU2C4 board directly from PCEngines. It features 4GB of RAM, 3 Intel NICs, 2 USB 3.0 Ports, 3 mSATA Slots, and as previously mention, the AMD Quad-Core APU.

With my purchase, I decided to add a Black Enclosure and US Power Adapter.

On Amazon, I decided to go with an ADATA SP310 128GB SSD. It features MLC NAND which is great and it was $69. It has plenty of storage for the pfsense operating system and was a bit overkill but I am planning to use the space for Squid Caching.

The Build

The build was as simple as installing the heatsink, screwing everything together, and inserting the SSD. This part only took me about 15 minutes to put together and everything came together nicely.

Here is where we hit a roadblock. When I purchased this board, I wasn't thinking about the console port. For some reason, I kept thinking this board had VGA and it would be as simple as creating a USB Installer using Terminal and installing using a monitor. 

I ended up ordering a Thunderbolt 2 to Ethernet adapter and USB to DB9 Cable on Amazon (ONE DAY SHIPPING!) because I lost my original Ethernet adapter and I needed a DB9 cable in order to control this board.

The Install

I installed the latest pfsense_amd64_usbmemstick_console version. I used an application called "Serial" by Decisive Tactics to connect to my APU2 box. This was the hardest part of the installation as many of the console apps work and don't work with the APU2. PuTTy works best with Windows but I'm stuck with OS X until I upgrade to my 2016 MacBook Pro so I have enough storage for a Windows 10 installation. 

After you're connected to the console, it's as simple as booting off the USB and going through the default settings of installing pfsense. It will automatically configure the ports as WAN, LAN, and OPT1 for all APU2 boxes

The Setup

Screen Shot 2017-05-03 at 10.28.14 PM.png
Screen Shot 2017-05-03 at 10.31.42 PM.png

The Aftermath

My setup is as follows:

Motorola Surfboard (Modem) ---> pfsense Appliance (Router) ---> Google WiFi (Access Point)

I have Squid acting as a cache for iOS Software and App updates, Mac Software and App updates, Windows updates, and a basic HTTP cache. Although about 80% of my traffic is SSL-encrypted (HTTPS), I won't intercept that traffic with my own LetsEncrypt certificate. I will let all of that data flow through the internet, as usual.

I have a few other basic security packages but for now, I haven't done anything crazy with my pfsense appliance. 

 

APR2017 - MAKING MONEY WITH SMARTPHONES AND COMPUTERS

DEVICES

  • Miner001 – LG LC16C (CDMA) – Rewardable
  • Miner002 – LG LC16C (CDMA) – Rewardable
  • Miner003 – Moto E 1G (CDMA) – Rewardable
  • Miner004 – Moto E 1G (CDMA) – Rewardable
  • Miner005 – Moto E 1G (CDMA) – Rewardable
  • Miner006 – Moto E 1G (CDMA)  – Rewardable
  • Miner007 – Moto E 1G (CDMA) – Perk TV Live
  • Miner008 – Moto E 1G (CDMA) – AppLike
  • Miner009 – Moto E 1G (CDMA) – Perk Quiz
  • Miner010 – Moto E 1G (CDMA) – Perk TV Live
  • Miner011 – Moto E 1G (CDMA) – Perk TV
  • Miner012 – Moto E 1G (CDMA) – Perk Word Search
  • PHONE – iPhone 6s Plus (GSM) – Panel App

TOTALS

  • Monthly Total: $75

THOUGHTS

Rewardables died halfway through the month. The Perk Apps worked intermittently throughout the month. I stopped using EarnHoney as it's earnings completely halted for me. We will see what happens next month! 

MAR2017 – MAKING MONEY WITH SMARTPHONES AND COMPUTERS

DEVICES

  • Miner001 – LG LC16C (CDMA) – Rewardable
  • Miner002 – LG LC16C (CDMA) – Rewardable
  • Miner003 – Moto E 1G (CDMA) – Rewardable
  • Miner004 – Moto E 1G (CDMA) – Rewardable
  • Miner005 – Moto E 1G (CDMA) – Rewardable
  • Miner006 – Moto E 1G (CDMA)  – Rewardable
  • Miner007 – Moto E 1G (CDMA) – Perk TV Live
  • Miner008 – Moto E 1G (CDMA) – AppLike
  • Miner009 – Moto E 1G (CDMA) – Perk Quiz
  • Miner010 – Moto E 1G (CDMA) – Perk TV Live
  • Miner011 – Moto E 1G (CDMA) – Perk TV
  • Miner012 – Moto E 1G (CDMA) – Perk Word Search
  • PC01 – 2012 rMBP – EarnHoney (12 Hours)
  • PHONE – iPhone 6s Plus (GSM) – Panel App

TOTALS

  • Monthly Total: $169

THOUGHTS

This month wasn’t too bad with everything that’s been happening. I earned about $20 doing University research studies and I primarily cashed out to get Amazon gift cards. With the Rewardable App, I made about $60 even though they face many complaints with the app and company itself. On EarnHoney, I started making less because of the Viewability errors and the loss of running the website for 24 hours a day. AppLike has always been consistent and I’ve made about $20 this month with AppLike. Perk has been a recent add into my phone setup and I’ve made about $35 in Amazon Gift Cards in just two weeks! Though Swagbucks is the most stable app, I’ve stopped using it because the apps require too much maintenance.

Rewardable and Perk are my highest earners. I project that Perk will net around $50-75 in Amazon gift cards and Rewardable will net around $40 next month. I project lower numbers for Rewardable as a new quarter has begun and ad budgets are reset.

FEB2017 – MAKING MONEY WITH SMARTPHONES AND COMPUTERS

DEVICES

  • Miner001 – LG LC16C (CDMA) – Rewardables
  • Miner002 – LG LC16C (CDMA) – Rewardables
  • Miner003 – Moto E 1G (CDMA) – Rewardables
  • Miner004 – Moto E 1G (CDMA) – Rewardables
  • Miner005 – Moto E 1G (CDMA) (Added Jan 21) – Rewardables
  • Miner006 – Moto E 1G (CDMA) (Added Jan 21) – Rewardables
  • Miner007 – Moto E 1G (CDMA) (Added Feb 8) – Perk TV Live
  • Miner008 – Moto E 1G (CDMA) (Added Feb 8) – AppLike
  • Miner009 – Moto E 1G (CDMA) (Added Feb 8) – Swagbucks TV
  • Miner010 – Moto E 1G (CDMA) (Added Feb 8) – Swagbucks Lifestylz.tv
  • Miner011 – Moto E 1G (CDMA) (Added Feb 8) – Swagbucks SportlyTV
  • Miner012 – Moto E 1G (CDMA) (Added Feb 8) – Swagbucks EntertaiNOW TV
  • PC1 – Custom PC – EarnHoney (12 Hours) (Removed March 2nd)
  • PC2 – 2012 rMBP – EarnHoney (24 Hours) (12 Hours after March 2nd)

TOTALS

  • Monthly Total: $122

THOUGHTS

This is my second month of making money with smartphones and computers. I felt that this month was sort of slow but many of the apps I was using had a bunch of problems. EarnHoney had viewability problems, Rewardables was switching from a hosted-Parse platform to a self-hosted Parse platform, and my Perk account had to be verified. AppLike and Swagbucks were the most stable this month but Swagbucks earns at a slower rate. All in all, I’m not mad that I only made $122 and it’s free money at the end of the day.

JAN2017 – MAKING MONEY WITH SMARTPHONES AND COMPUTERS

DEVICES

  • Miner001 – LG LC16C (CDMA) – Rewardables
  • Miner002 – LG LC16C (CDMA) – Rewardables
  • Miner003 – Moto E 1G (CDMA) – Rewardables
  • Miner004 – Moto E 1G (CDMA) – Rewardables
  • Miner005 – Moto E 1G (CDMA) (Added Jan 21) – Rewardables
  • Miner006 – Moto E 1G (CDMA) (Added Jan 21) – Rewardables
  • PC1 – Custom PC – EarnHoney (12 Hours)
  • PC2 – 2012 rMBP – EarnHoney (24 Hours)

TOTALS

  • Monthly Total: $70
  • Rewardables Total: $30
  • EarnHoney Total: $40

THOUGHTS

This is my first month of making money with smartphones and computers and I have to say that it was a success that I even made $70 in a slow month. I have a feeling that February will be the slowest for me as many of the apps are having problems but we will see as the month continues. As I’m writing this, I just added 6 more smartphones to my setup and I’m hoping I can double my earnings.

I’m also adding new apps to the setup! I’m going to checkout Perk TV, Swagbucks, and YooLotto. Those are the three that work best on these Moto E’s since the CheckPoints and InboxDollars apps crash on these smartphones.