This is a configuration that I had used on my home router from 2017 until 2020. In 2020, I decomissioned my custom router in favor of Ubiquity hardware.
Also see https://github.com/bsclifton/home-config (may be out of date)
Configuration is installed on top of Ubuntu 16.04 (Xenial Xerus).
This article was the inspiration for creating and configuring my own home router.
- Purchase or build a PC which has two NICs. For my build, I went with:
- ASUS H110T/CSM H110 Thin Mini-ITX CSM Motherboard (Dual gigabit NICs)
- Intel 3.70 GHz Core i3-6100 3M Cache Processor
- Crucial 32GB Kit (16GBx2) DDR4 2133 MT/s (PC4-17000) SODIMM 260-Pin Memory
- Transcend 128GB SATA III 6Gb/s MTS400 42 mm M.2 SSD Solid State Drive
-
Download and install the latest release for Ubuntu 16.04. Choosing the server package is preferred to avoid installing any desktop components (such as Unity).
-
Run the following to get started:
sudo apt install -y vim git isc-dhcp-server unzip openvpn && sudo apt remove -y vim-tiny nano
sudo apt update && sudo apt upgrade -y
git clone git@github.com:bsclifton/home-router-config.git
cd home-router-config/
#TODO: ...
cp -rp ./etc /etc/
- This config uses iptables for NAT and filtering.
- sshd_config is updated to remove root login and to disallow login w/ password.