A multi-gigabit Ethernet port on a router specification sheet means nothing when every packet must be encrypted in real time. At 365Finds, we regularly see home lab builders and network administrators fall into the same trap: they install OpenWrt or pfSense on a cheap multi-port appliance or an aging dual-core box, plug in a gigabit fiber link, turn on an encrypted tunnel, and watch their connection throttle down to 45 Mbps while CPU core usage hits 100%.
The bottleneck is almost never the network interface. It is the collision between your cryptographic cipher, your CPU instruction set, and the operating system's packet handling path. Choosing the right hardware is not about throwing brute-force gigahertz at the problem; it is about matching processor architecture and hardware crypto extensions to your chosen VPN protocol.
The Core Bottleneck: Instruction Extensions vs. Clock Cycles
Symmetric encryption is mathematically brutal on standard general-purpose CPU registers. Every block of payload data must undergo iterative rounds of substitution, bitwise permutation, and finite-field multiplication.
When a processor lacks dedicated hardware cryptographic instructions, every single cryptographic round must be executed through generic arithmetic logic unit (ALU) instructions. A 1 GHz CPU attempting to compute AES-256 in pure software will burn roughly 20 to 30 clock cycles per byte. That math caps your maximum theoretical VPN throughput well below 100 Mbps, regardless of how much idle bandwidth your ISP provides.
Hardware acceleration fundamentally alters this equation by introducing silicon-level execution pipelines tailored to specific math operations:
- Dedicated Instruction Sets (AES-NI on x86, ARMv8 Cryptographic Extensions): Rather than executing dozens of micro-operations per block, the CPU executes a single instruction (such as
AESENCorAESDEC) that performs an entire round of AES transformation within specialized hardware execution units in a single clock cycle or two. - SIMD Vector Engines (Intel AVX2/AVX-512, ARM NEON): Single Instruction, Multiple Data extensions allow the CPU to perform parallel calculations across wide 128-bit, 256-bit, or 512-bit registers, dramatically accelerating non-AES stream ciphers and hashing algorithms like ChaCha20-Poly1305.
- Dedicated Crypto Co-processors (Intel QAT, Marvell CESA, NXP SEC, Inside Secure SafeXcel): Independent hardware engines on the SoC or PCIe bus that process crypto workloads asynchronously via direct memory access (DMA), offloading the CPU entirely.
A common misconception 365Finds encounters in network forums is the belief that enabling AES-NI magically accelerates all VPN tunnels. It does not. The cryptographic cipher mandated by your VPN protocol determines strictly which hardware engine can help you.
Architecture Breakdown: x86_64, ARMv8, and Legacy MIPS
The open-source router ecosystem spans three distinct hardware tiers. Understanding their architectural boundaries prevents costly hardware mispurchases.
1. Modern x86_64 (Intel Jasper Lake, Alder Lake-N, AMD Ryzen Embedded)
For pfSense, OPNsense, and heavy OpenWrt x86 deployments, modern x86_64 appliances (such as those powered by the Intel Celeron N5105 or Intel Processor N100) are the gold standard for high-bandwidth routing.
- AES-NI Ubiquity: Virtually all modern 64-bit x86 CPUs feature AES-NI. Hardware-accelerated AES-GCM runs at near wire speed with negligible CPU overhead.
- Vector Performance: Modern x86 chips support AVX2 instructions, allowing software implementations of ChaCha20-Poly1305 to crunch multiple data blocks in parallel.
- Throughput Reality: An Intel N100 appliance with AES-NI easily pushes 1.2 to 1.8 Gbps of WireGuard throughput and can exceed 800 Mbps on OpenVPN when paired with modern kernel offloading.
2. ARMv8 64-Bit (Cortex-A53, Cortex-A72, Cortex-A73)
The modern OpenWrt ecosystem is dominated by ARMv8 SoCs (such as MediaTek Filogic 820/830/880 series, Rockchip RK3568/RK3588, and Broadcom BCM2711/BCM2712).
- ARM NEON: Every ARMv8 core includes the 128-bit NEON SIMD engine. This is an enormous advantage for WireGuard, because ChaCha20-Poly1305 maps cleanly to NEON vector registers.
- ARMv8 Crypto Extensions: Unlike x86 where AES-NI is practically universal, ARMv8 Cryptographic Extensions (which provide silicon-level AES and SHA acceleration) are an optional architecture license. While networking SoCs like the MediaTek MT7986 (Filogic 830) include them, some low-cost general-purpose ARM SoCs omit them to save die cost.
- Throughput Reality: An optimized ARMv8 router with NEON and crypto extensions (e.g., MediaTek Filogic 830 in devices like the GL.iNet GL-MT6000 or Banana Pi BPi-R3) achieves roughly 800 to 950 Mbps on WireGuard, consuming under 5 watts of power.
3. Legacy MIPS and 32-Bit ARM (MediaTek MT7621, Older Broadcom SoCs)
Budget OpenWrt devices like the ubiquitously deployed MediaTek MT7621A (found in thousands of budget consumer routers and the Ubiquiti EdgeRouter X) represent the legacy tier.
- Zero Hardware Crypto: The MIPS 1004Kc core contains no AES instructions, no crypto co-processors recognized by mainline Linux, and no wide SIMD engines.
- The Reality Check: On an MT7621, OpenVPN with AES-256-GCM collapses to between 25 and 35 Mbps. Switching to WireGuard brings throughput up to roughly 120 to 180 Mbps strictly due to ChaCha20's efficiency, but the CPU remains pinned at 100%. At 365Finds, our firm recommendation is never to deploy MIPS-based silicon for encrypted WAN connections above 100 Mbps.
Protocol and Cipher Pairing: Matching Software to Silicon
Hardware acceleration is useless if your VPN protocol cannot feed data through the acceleration pipeline.
+----------------------------------------------------------------------------------+
| VPN Protocol & Cipher Engine |
+----------------------------------------------------------------------------------+
|
+--------------------+--------------------+
| |
WireGuard (Kernel) OpenVPN (DCO Enabled)
ChaCha20-Poly1305 AES-128-GCM / AES-256-GCM
| |
v v
SIMD Vector Engines Hardware AES Pipelines
ARM NEON / x86 AVX2 x86 AES-NI / ARMv8 Crypto
| |
v v
High Per-Core Clock & IPC Dedicated Crypto Offload Units
(800 Mbps - 2.5 Gbps) (500 Mbps - 1.5 Gbps)
WireGuard: Tailored for SIMD, Indifferent to AES-NI
WireGuard deliberately eschews cryptographic agility. It uses a single cryptographic suite: ChaCha20 for symmetric encryption and Poly1305 for message authentication.
Because ChaCha20 is an ARX cipher (Add-Rotate-Xor) rather than a substitution-permutation network like AES, it does not use AES-NI. You can run WireGuard on an enterprise server with high-end AES-NI instructions, and WireGuard will completely ignore them. Instead, WireGuard relies on:
- SIMD Vector Instructions: ARM NEON on ARMv8 or AVX2/AVX-512 on x86 accelerate the ARX operations across 128-bit or 256-bit vectors simultaneously.
- Single-Core IPC and Frequency: While the Linux kernel WireGuard implementation distributes parallel packet queues across multiple CPU cores, any single high-bandwidth stream is fundamentally governed by the clock speed and Instructions Per Cycle (IPC) of an individual core.
OpenVPN: The Context-Switching Tax and DCO Revolution
Historically, OpenVPN was infamous for poor throughput on home routers. It ran as a user-space daemon (tun/tap), requiring two memory copies and two operating system context switches for every single network packet: kernel space to user space for decryption, and user space back to kernel space for routing.
On embedded routers with weak single-core performance, this context switching choked throughput long before the cipher computation itself became the bottleneck.
Two major developments have modernized OpenVPN:
- AES-GCM + AES-NI / ARMv8 CE: Using Galois/Counter Mode combines encryption and authentication into a single accelerated pass, cutting CPU overhead by over 50% compared to legacy AES-CBC with HMAC-SHA256.
- OpenVPN Data Channel Offload (ovpn-dco): Both pfSense (via
if_ovpn) and modern OpenWrt builds now support DCO. DCO moves the entire cryptographic data channel directly into kernel space, eliminating context-switching penalties. With DCO and AES-NI enabled on an x86 appliance, OpenVPN throughput jumps from 150 Mbps to well over 700 Mbps.
Dedicated Co-processors vs. Instruction Sets: The Latency Trap
Many network administrators assume that a dedicated hardware crypto co-processor—such as Marvell CESA, Inside Secure SafeXcel (found in the Netgate 1100 and 2100), or Intel QAT—is inherently superior to on-CPU instructions like AES-NI or NEON.
365Finds has tested and analyzed these architectures in production environments, and the reality is counterintuitive.
Dedicated co-processors operate over internal DMA and memory busses:
- The kernel receives a network packet in RAM.
- The packet descriptor is queued to the crypto co-processor.
- The DMA engine copies data to the accelerator engine.
- The accelerator encrypts or decrypts the block.
- An interrupt triggers, signalling the CPU that data is ready.
- The CPU retrieves the packet and routes it.
For massive 16 KB data buffers or tens of thousands of concurrent IPsec connections, dedicated accelerators shine. But for consumer and home-lab routing—where standard internet traffic consists of varied packet sizes between 64 bytes and 1420 bytes—the latency and DMA overhead of an asynchronous co-processor can actually result in lower throughput than synchronous CPU instructions like AES-NI or ARM NEON.
On-core CPU instructions execute immediately in the pipeline without bus arbitration or interrupt overhead. For home routers pushing under 2.5 Gbps, modern CPU instruction extensions consistently beat asynchronous hardware crypto cards.
Hardware and Protocol Pairing Matrix
To guide hardware procurement for open-source firewalls, 365Finds summarizes typical throughput limits under real-world conditions:
| Hardware Architecture | Key Acceleration Feature | OpenWrt / pfSense Compatibility | Expected WireGuard Max | Expected OpenVPN (DCO + AES-GCM) | Best Protocol & Configuration |
|---|---|---|---|---|---|
| x86_64 Modern (e.g., Intel N100, AMD Ryzen Embedded) | AES-NI, AVX2, high single-core IPC | Supported on both pfSense and OpenWrt | 1.2 Gbps – 2.5 Gbps | 700 Mbps – 1.2 Gbps | Either protocol; enable DCO for OpenVPN; choose WireGuard for lower latency. |
| x86_64 Budget/Older (e.g., Intel Celeron J1900, Core 2 Duo) | Lacks AES-NI (or early SSE only) | Supported on both | 180 Mbps – 320 Mbps | 60 Mbps – 110 Mbps | WireGuard exclusively; OpenVPN will saturate CPU immediately. |
| ARMv8 Modern Networking (e.g., MediaTek MT7986 Filogic 830) | ARM NEON + ARMv8 Crypto Extensions | Excellent OpenWrt support; limited pfSense | 800 Mbps – 1.0 Gbps | 350 Mbps – 500 Mbps | WireGuard for line-rate routing; OpenVPN requires AES-128-GCM with DCO. |
| ARMv8 General Purpose (e.g., Broadcom BCM2711 / RPi 4) | ARM NEON; lacks ARMv8 Crypto Extensions | OpenWrt supported | 500 Mbps – 700 Mbps | 100 Mbps – 160 Mbps | WireGuard; avoid AES-based ciphers due to lack of dedicated AES instructions. |
| MIPS / 32-Bit ARM (e.g., MediaTek MT7621A, BCM4709) | None (Pure integer ALU software math) | Legacy OpenWrt devices | 100 Mbps – 180 Mbps | 25 Mbps – 40 Mbps | WireGuard only for low-speed connections; unsuitable for modern gigabit WANs. |
How to Verify Hardware Acceleration on Your Router
Before assuming your configuration is optimized, verify that the operating system has detected and loaded the necessary cryptographic modules.
On OpenWrt (Linux-Based)
Log in via SSH and inspect CPU capabilities:
# Check CPU architecture flags
cat /proc/cpuinfo | grep -E "(Features|flags)"
# Look for 'aes' or 'asimd'/'neon' in the output.
# On x86: flags should list 'aes' and 'avx2'
# On ARM: Features should list 'neon' or 'asimd' and 'aes'
Next, test whether OpenSSL can leverage your acceleration engine using the built-in benchmark tool:
# Benchmark AES-128-GCM with hardware acceleration
openssl speed -evp aes-128-gcm
# Benchmark ChaCha20-Poly1305
openssl speed -evp chacha20-poly1305
If the throughput in speed -evp jumps by a factor of 4x to 10x compared to running standard non-EVP speed tests, your hardware pipeline is operating correctly.
On pfSense / OPNsense (FreeBSD-Based)
- Open the web interface and navigate to System > Advanced > Miscellaneous.
- Locate the Cryptographic & Thermal Hardware section.
- In the Cryptographic Hardware dropdown:
- For Intel and AMD CPUs: verify that AES-NI CPU-based acceleration is selected.
- For pfSense Plus systems with Intel hardware: evaluate Intel IPsec Multi-Buffer (IPsec-MB), which accelerates ChaCha20-Poly1305 and AES via SIMD instructions.
- Verify detection via the command line:
dmesg | grep -i aes
The system log should confirm: AES-NI instructions: YES.