Someone Built a Raspberry Pi 5 Router, and It Looks Absolutely Ridiculous
A community member built a homemade router using a Raspberry Pi 5, two Wi-Fi cards, and a tower of expansion boards. The open-source Pi-Dock-Wifi project includes Pi-hole, Docker Compose, and its own web dashboard.
A recent project shared on r/selfhosted looks more like an electronics experiment than a typical Raspberry Pi build. With its exposed circuit boards and towering antennas, the homemade router has a rather unusual appearance. There's quite a bit of hardware packed into the setup, and it's interesting to see how the creator managed to bring everything together.
Reddit user u/Glittering_Pound1931 shared their homemade router called Pi-Dock-Wifi, a Raspberry Pi 5-based networking setup that currently handles the Wi-Fi for their entire apartment. The project started during the pandemic in 2020 and has gradually grown into a rather elaborate piece of networking hardware. The creator recently published the software and hardware documentation as an open-source project.
At the center of everything is a Raspberry Pi 5 with 8GB of RAM, connected to a 52Pi B14 PCIe switch HAT and two Waveshare MiniPCIe adapters. These accommodate a pair of MediaTek MT7915E Wi-Fi cards, which provide separate 2.4GHz and 5GHz wireless access points. Since the Raspberry Pi only has one PCIe connection available, the switch allows both cards to share it. The build also includes USB-connected NVMe storage, a USB hub HAT, a dedicated power board, and custom 3D-printed mounting brackets.
The hardware might be what initially grabs your attention, but quite a bit is happening on the software side. The router runs three interconnected services through Docker Compose, with the main Pi-Dock-Wifi container handling wireless networking through hostapd, DHCP and DNS through dnsmasq, along with routing, firewall rules, and a web dashboard. A separate Pi-hole container provides DNS filtering, while ttyd makes an SSH terminal accessible through the dashboard.
The creator has also built in health checks, network statistics, logging, and Ethernet recovery handling. The idea is to give the router some ability to recover from connectivity problems without requiring constant manual intervention. Its configuration files remain accessible, so networking rules and other settings can be modified directly rather than being limited to options in a conventional router interface.
Of course, this isn't something you can throw onto any Raspberry Pi and expect to work immediately. The setup requires compatible Wi-Fi hardware, kernel drivers, and a privileged Docker container with host networking. It also assumes an upstream modem or firewall. The creator notes that while the published configuration reflects their working router, the complete installation instructions have not yet been independently validated on a fresh system.
The Reddit discussion has been entertaining, with people comparing the hardware to all sorts of scientific equipment. Some commenters seem impressed by the architecture, while others are understandably less enthusiastic about the prospect of troubleshooting a tower of expansion boards and antennas. One person also raised questions about how the recovery mechanism would behave if a firewall configuration accidentally blocked access to the dashboard.
There are certainly less complicated ways to run a home network, but projects like this are a reminder of how far Raspberry Pi hardware can be pushed with enough experimentation. What began as a pandemic project has become a fully documented home router, complete with custom mounting hardware and its own management software.
The Pi-Dock-Wifi GitHub repository includes the source code, Docker configuration, installation guides, hardware documentation, and 3D-printable files. The project is available under the GPL-3.0 license.

Comments 0
Join the conversation.
No comments yet. Be the first to comment.