HomeBlog › Build a secure home network with a mini PC and OPNsense; and manage it with FrontierStack

Build a secure home network with a mini PC and OPNsense; and manage it with FrontierStack

Published 2026-08-29

There is a particular kind of frustration in renting a router you are not allowed to replace. Some ISPs lock their gateway down, throttle it, fill it with ads, or; as in the video that inspired this post; cut a customer off for daring to use their own hardware. The good news: you can put a real firewall in front of everything, keep the ISP happy, and run a genuinely private, monitored network at home. This is how, and how to keep it healthy afterwards.

We will skip the case and focus on what matters: the hardware, the OPNsense setup, the one clever trick that gets you past an ISP that checks which device is connected, and then the part most guides leave out; how to actually keep an eye on the thing once it is running.

The hardware: a small, silent firewall appliance

You do not need a rack or a noisy 1U server. A low-power x86 mini PC with at least two 2.5-gigabit network ports is plenty for a home line, and it runs cool and silent. A popular, well-matched choice is a ZimaBoard 2 (an Intel N150, passively cooled, with dual 2.5GbE on board); its firewall kit adds a PCIe Intel I226 card for extra ports, so you can carve out separate networks later. Any comparable fanless mini PC with Intel i225/i226 NICs works just as well; avoid cheap Realtek 2.5GbE ports, which are fussy under BSD.

A minimal, capable shopping list:

Getting past an ISP that only trusts its own gateway

Here is the trick from the video, explained properly. Many ISPs authenticate the connection by the MAC address of the device plugged into their line; and they often expect that MAC to belong to their equipment. The first three bytes of any MAC address are the OUI (Organizationally Unique Identifier), which identifies the hardware maker. If you plug in your own router with a totally different MAC, the ISP may refuse to hand out a connection, or serve a captive "unauthorised device" page.

The workaround is to make your OPNsense WAN present the same MAC the ISP already trusts. In the video, Wireshark is used to watch the traffic between the ISP's own gateway and the line and read off that gateway's real MAC address (a random, made-up MAC won't do; its OUI wouldn't match a real vendor, which is a dead giveaway of spoofing). You then clone that MAC onto the OPNsense WAN interface. To the ISP, nothing changed; behind that address, you are now running your own firewall.

OPNsense makes the cloning itself trivial; the interface settings for WAN have a "MAC address" field; paste the captured address there (if your WAN is a VLAN sub-interface, set the MAC on the parent physical NIC). Reconnect, and the DHCP lease comes through as if the ISP box were still in place.

A word on the rules. Cloning a MAC to get online is a grey area: check your ISP's terms first. Some contracts permit only one connected device or forbid replacing the gateway, and in a few places circumventing that can breach the agreement. This is your call to make; the technique is legitimate for interoperability on a line you pay for, but read the fine print.

The OPNsense setup, step by step

Download the OPNsense installer, write it to a USB stick, and install it to the mini PC's SSD. On first boot, the console asks you to assign interfaces; one NIC becomes WAN (to the ISP), one becomes LAN (to your switch/APs). Then open the web UI from a machine on the LAN and work through:

That is a complete, private, segmented home network on hardware you own; no rented gateway deciding what you may run.

The part guides skip: keeping it healthy

A firewall is not "set and forget." A WAN line can drop, an interface can lose carrier, a service can die, Suricata can start firing, someone can hammer the admin login, firmware can fall behind. On a home setup you usually find out when the internet is already down. This is exactly where FrontierStack earns its place; it turns your Mac into a quiet operations console for the network you just built.

Add the OPNsense box in FrontierStack's Router & Network pane with its address and an API key (create one under System › Access › Users), and it manages the firewall over the router's own REST API; nothing is installed on the appliance:

So the division of labour is clean: you build the network once; the mini PC, the MAC clone, OPNsense with its VLANs, IDS, DNS blocking and VPN; and FrontierStack keeps it observed, alerting and one click from action for as long as it runs.

Start with the remote & network guide, see the solutions for more build ideas, and download FrontierStack to manage the firewall you just built.

Run it from your Mac.

FrontierStack installs, monitors and secures services on this Mac and on linked servers.

Download FrontierStack