DIY Router On X86 E-Waste: OpenWrt And OPNsense

In previous installments of this collection we checked out how making a DIY router utilizing an e-waste-level PC has modified through the years, earlier than trying besides OpenWrt for x86 on it. After an preliminary SD card booting failure on one system, one other system with a more moderen mainboard – an Intel Board D2500CC – was used which fortunately booted OpenWrt from an SD card inserted right into a USB card reader.
Unfortunately, OpenWrt didn’t see any usable Ethernet interfaces regardless of having at least 4 Intel Ethernet controllers and two hooked as much as lively networks. After just lately getting again to the venture, I discovered why each onboard Intel 82574L Ethernet controllers didn’t present up in OpenWrt: the drivers for the Intel 82574L controllers are within the e1000e driver bundle, whereas only the e1000 package is current within the supplied x86 picture. This concern persists within the ‘generic’ image profile to today.
Yet slightly than diving head-first into constructing my very own picture that features the kmod-e1000e bundle, I made a decision to provide OPNsense a shake first.
All The Features
Suffice it to say that OPNsense is a complete totally different galaxy in comparison with the cheerful-and-light OpenWrt. Rather than focusing on simply being a primary router, you as a substitute get entry to a feature list the place it’s in all probability quicker to begin asking what it doesn’t do. This FreeBSD-based software program particularly takes intention at business merchandise providing firewall, community site visitors evaluation and routing in addition to community security measures, with plugins including options that in all probability has the common community admin salivating.
Although solely the tiniest little bit of overkill while you merely need to arrange a consumer-grade community router, to not point out possess simply sufficient community administration abilities to not injure your self whereas operating the setup wizard of a router and plugging in Ethernet cables, it’s nonetheless a pleasant fuzzy heat feeling to know that you’ve got all this energy at your fingertips must you ever want it.

The Get Started web page for OPNsense can be slightly reassuring, promising that the lowly 2012-era Intel Atom D2500CC board with its twin 1.8 GHz cores will just do high quality. Although solely 2 GB of DDR3 is put in, DDR3 SODIMM sticks are nonetheless plentiful and comparatively inexpensive, so it’s simple to hoard have a strategic reserve of them for upgrading older techniques to 4 GB and past in the event that they assist it. Surreptitiously closes drawer with RAM hoard
Storage-wise a 4 GB SD or CF card is taken into account the minimal, with a 120 GB SSD beneficial. Considering that I’ll be dwelling giant with OPNsense I made a decision to splurge on a complete 128 GB SATA SSD right here within the midst of a provide disaster no much less. This approach it needs to be potential to put in OPNsense from a USB stick and be up and operating with out the restrictions of operating a ‘nano’ picture off an SD card or comparable.
The thrilling facet right here is that whereas the D2500 Atom CPU is technically a 64-bit CPU and will run 64-bit Linux quite all right if the mainboard additionally helps it, the x86_64-only focus of OPNsense makes this a make-or-break facet. Will I want to interrupt out Yet Another E-Waste PC to make this work? Stay tuned.
Deployment Time

The directions on the OPNsense ‘Get Started’ web page are a bit imprecise on which picture to make use of precisely, with the DVD ISO, VGA, Serial and Nano pictures all having apparently particular targets and functions that aren’t simple to decipher when you strive to determine what precisely is totally different between the ‘DVD’ and ‘VGA’ picture. Some looking with DuckDuckGo later and the discovered solutions – together with deeper within the full documentation – pointed me to the ‘VGA’ picture. This .img file must be extracted from the .bz2 archive earlier than it may be written with Rufus or much like a USB stick.
Fortunately this half-guess on the proper picture turned out to be the right one, because the system booted proper into the stay picture, additionally placing to relaxation preliminary fears of the system rejecting the modernity of 64-bit. Amusingly, the installer works by logging into the stay session’s login as installer slightly than root with the identical opnsense because the password, which is just mildly awkward when you end up watching a login immediate for putting in an OS.
A mere eleven minutes and forty-five seconds of OPNsense stay session uptime later, the set up was completed and I used to be requested to take away the USB stick and reboot to admire the glory that’s OPNsense. Meaning principally to do first-time setup issues and ensure that every thing that ought to work additionally does so. Would the system even boot?
First Boot
With some degree of trepidation, I pushed the facility button on the entrance of the case, solely to see it cycle by all the standard pleased FreeBSD issues, albeit all of it distorted for the reason that transportable monitor I used hates 640×480 as decision for some purpose. I had opted for the standard ZFS filesystem choice during installation, together with principally all the opposite defaults. The solely factor that I used to be unsure about was whether or not it will choose the precise Ethernet port because the WAN port by default or that I’d should reassign it.
This concern turned out to be unfounded, with what turned out to be the second interface (em1) – which I had plugged into an lively LAN connection – being assigned the WAN function, leaving the second interface (em0) because the model new LAN’s interface. By default OPNsense assigns purchasers on this LAN interface /24 model addresses with the router and DHCP server discovered on 192.168.1.1. Clients are assigned addresses within the vary of 192.168.1.100-200.
As an apart, I actually admire how OPNsense pronounces main state adjustments like ending booting and happening for a reboot/shutdown consequence within the operating of a beep script which creates a fanfare that even a half-deaf community admin working on the different aspect of a busy server room can be hard-pressed to overlook. This isn’t a joke, I actually admire clear signaling for something that warrants these within the room to be 100% conscious of this reality.
With a contented UP message on the em1 WAN interface, and fortunately blinking LEDs on the WAN interface, it was time to plug a shopper into the brand new LAN port to see whether or not I now had an actual web router.
Speed Testing

Rather than drag out a more moderen PC or laptop computer, I used my 2013-era gaming laptop computer operating Manjaro. This makes it about the identical age because the Intel board within the new OPNsense router, although each are clearly helpful differently. Fortunately each techniques have been very happy to see one another, with plugging in a brand new Ethernet cable between the 2 instantly popping up a affirmation pop-up in Manjaro about an Ethernet connection.
It being Arch-based, the very first thing to check was updating Manjaro with what turned out to be almost a gigabyte of updates. A couple of minutes later this was all downloaded and the laptop computer’s fan was kicking in as if to inform everybody to gradual it down considerably. Clearly it was time to run some comparative benchmarks with different techniques not trapped behind this new OPNsense router.
Here I received some barely humorous outcomes, which could be extra as a result of how unreliable browser-based web velocity checks are. First utilizing quick.com in Firefox I received a piddly 61 Mbps up and 23 down, which had me considerably apprehensive, but after I ran over to my common PC to run the identical check within the Firefox ESR-based Waterfox, I received a really comparable rating at 55/36.
As a sanity examine I benchmarked then with speedtest.web, which gave the Manjaro laptop computer a giant thumbs up with 184/187 Mbps, which is nearer to what my ISP claims is a ~300/150 Mbps connection. On my PC with Waterfox I received decrease once more the primary time, however the second time it was a lot larger and nearer to the consequence on the Manjaro laptop computer. It’s all relative, I suppose.
I additionally checked the speedtest.web app on my Android cellphone utilizing the common Wi-Fi entry level and received a contented 163/142 Mbps, so no matter is occurring, it’s in all probability as a result of JavaScript or browser compatibility or comparable shenanigans as are about 90% of all community points lately.
Happy Routing
Either approach, the connection on the Manjaro laptop computer in Firefox through the OPNsense router was secure over the course of an hour, with the speedtest claiming a 16 ms ping and to this point no points detected. I’ll positively have to determine a greater option to benchmark the connection, and likewise to recollect to examine the system load on this newly minted OPNsense system, however to this point it’s been an astoundingly and fortunately boring expertise.
There are additionally much more options in OPNsense which might be begging to be explored additional, for which I’ll gladly take requests since me {and professional} networking gear are at most on a neighbor-level of acquaintance. For some purpose diving into OPNsense does really feel like in some unspecified time in the future you completely should get that 19″ rack to slot in with the membership.
Source link


![The OpenWrt One system [LWN.net] The OpenWrt One system [LWN.net]](https://openwrtrouters.net/wp-content/uploads/2026/09/openwrt-one-sm-250x220.png)