top of page

UniFi Hits Hacker News After a 5 Gbps PPPoE Half-Bridge Fix

Aug 31
13 min read

UniFi reached hacker news after ArcBox Labs claimed a separate OpenWrt device pushed its 5 Gbps PPPoE connection beyond a stubborn gateway bottleneck. The result challenges a basic expectation surrounding premium networking hardware. A gateway with multiple fast ports can still fall short when one legacy protocol overloads its packet-processing path.

ArcBox says its UDM Pro Max struggled to approach the office connection’s full speed. Its workaround moves the PPPoE session onto a Banana Pi BPI-R4 Pro running OpenWrt. The UniFi gateway then receives the public IPv4 address through DHCP and continues handling routing, firewall rules, port forwarding, and remote access.

That sounds like a clean division of labor. However, the design adds another device, custom scripts, static neighbor entries, and a new recovery path. The hacker news thread also challenged several claims in the original post, especially its description of PPPoE use among American providers.

The important story is therefore not one speed test. It is a conflict between an integrated gateway promise and the specialized hardware required for multi-gigabit packet processing. ArcBox’s result suggests that moving one function outside the gateway can restore performance. It does not establish that every UniFi deployment should adopt the same architecture.

The Hacker News Post Exposed a Narrow but Expensive Bottleneck

ArcBox changed where PPPoE runs, not how the rest of the UniFi network operates.

PPPoE, or Point-to-Point Protocol over Ethernet, wraps PPP traffic inside Ethernet frames and often authenticates a broadband subscriber. That process places an additional encapsulation and decapsulation step between the internet connection and the gateway’s normal routing work.

The protocol adds an eight-byte combination of PPPoE and PPP headers. That small increase in frame size is not the main performance problem. The larger issue is the repeated packet processing needed to establish and maintain the session.

ArcBox reported that its office used a 5 Gbps PPPoE service behind a UDM Pro Max. According to its technical account, the gateway never approached the subscribed rate and showed signs of CPU pressure. The company also said that the load affected operational stability.

Its published figures describe a wider gap across several UniFi gateways. ArcBox says UDM Pro and UDM SE results typically fall between 1,200 and 1,500 Mbps over PPPoE. It places the UDM Pro Max between 1,400 and 1,800 Mbps, while the Enterprise Fortress Gateway reportedly reaches between 1,400 and 2,400 Mbps.

These are ArcBox’s observations, not controlled third-party benchmarks. The post does not publish a complete testing matrix with packet sizes, connection counts, firmware versions, latency measurements, or repeatable raw data. Readers should treat each range as a field report.

One result stands apart. ArcBox says the UniFi Cloud Gateway Fiber can exceed 5,000 Mbps because its system-on-chip includes PPPoE acceleration. Ubiquiti’s published specifications list 5 Gbps of IDS and IPS throughput for the gateway, although that figure does not independently verify ArcBox’s PPPoE test.

The contrast creates the article’s central tension. A product’s aggregate routing specification does not guarantee equivalent performance for every WAN protocol. Hardware can move ordinary IP traffic quickly while slowing down when PPPoE sends work through a less accelerated path.

Ubiquiti itself acknowledges the broader limitation. Its speed guidance describes PPPoE as CPU-intensive and warns that it can reduce throughput compared with DHCP or a static address.

The same guidance says Threat Management and Smart Queues can cut throughput by up to 30 percent. Deep packet inspection, firewall rules, content filters, and VPNs can add further pressure. Those features compete for the same processing resources that a busy PPPoE connection already consumes.

This does not mean PPPoE always limits UniFi gateways to ArcBox’s ranges. Workload, firmware, packet size, enabled services, and test design all matter. It does show why a successful LAN or DHCP benchmark cannot settle a PPPoE performance dispute.

The hacker news response amplified that distinction. Some participants recognized the bottleneck from their own European fiber connections. Others objected to the article’s broad portrayal of PPPoE as common across major American fiber and cable networks.

That disagreement matters because it narrows the addressable problem. PPPoE remains consequential where providers require it, but it is not a universal explanation for slow multi-gigabit service. Users must identify their WAN protocol before considering ArcBox’s workaround.

Why One Fast Gateway Core Can Still Lose at Multi-Gigabit Speeds

Multi-core hardware does not automatically divide one PPPoE session across every available core.

A router processes several stages for each packet. It receives the frame, recognizes the protocol, removes or adds encapsulation, applies routing and firewall decisions, performs address translation, and forwards the result.

Modern systems accelerate parts of this path through dedicated engines. These components can bypass expensive software processing for established flows. When a protocol falls outside that accelerated path, the general-purpose CPU must perform more work.

ArcBox argues that this is the central weakness affecting its UDM Pro Max. Its account says a single broadband session often leaves PPPoE processing concentrated on one CPU core. Extra cores remain useful for other services, but they do not automatically raise the ceiling of that specific processing path.

This explains an otherwise confusing monitoring result. A gateway can show moderate total CPU utilization while one core reaches its limit. The connection then stops scaling even though the device appears to have unused aggregate capacity.

Packet rate matters alongside bandwidth. A stream of small packets requires more per-packet decisions than the same bandwidth carried through larger packets. A single speed-test number therefore cannot describe every real workload.

Security and traffic-management features make the boundary less predictable. Ubiquiti says enabling QoS rules disables hardware offloading on the gateway. Its QoS documentation estimates a 24 to 45 percent speed reduction for traffic above 1 Gbps, depending on the model and conditions.

That creates an uncomfortable choice for operators. They can pursue the largest possible throughput number, or retain features that inspect, classify, and shape traffic. The best configuration depends on whether raw transfer speed, latency control, visibility, or security has priority.

ArcBox’s solution avoids forcing the UniFi gateway to perform the PPPoE step. It does not make all packet-processing costs disappear. The gateway still handles its downstream responsibilities after receiving the public address.

This separation is important. A conventional router placed ahead of UniFi could terminate PPPoE and perform network address translation. UniFi would then sit behind a private address, producing double NAT unless the upstream system offered an appropriate passthrough mode.

Double NAT can complicate inbound connections, port forwarding, some virtual private networks, and troubleshooting. It can also blur which device owns the public-facing state. ArcBox wanted to offload PPPoE without surrendering the public address at the UniFi boundary.

The half-bridge design targets precisely that gap. The OpenWrt device maintains the provider-facing session but transfers the assigned IPv4 address to the downstream gateway. UniFi continues to see that address on its WAN interface.

This arrangement resembles IP passthrough features found in some provider equipment. ArcBox’s repository says users do not need the project when their optical network terminal or modem already supports Advanced DMZ, IP Passthrough, or a comparable mode.

The mechanism therefore addresses a narrow systems problem. It separates PPPoE termination from public-address ownership while avoiding a second NAT layer. That is more specific than simply putting another router in front.

PPPoE Half-Bridge Moves the Hard Work Without Moving the Public IP

The half-bridge works by splitting session ownership from address ownership, a separation ordinary gateway interfaces rarely expose.

In ArcBox’s architecture, the OpenWrt device connects toward the provider and establishes the PPPoE session. It authenticates, receives the assigned IPv4 address, and becomes responsible for adding or removing PPPoE framing.

The scripts then remove that address from the local PPP interface. OpenWrt makes the address available to the UniFi gateway through DHCP on a downstream physical interface. The UniFi WAN therefore receives the provider-assigned address rather than a private subnet address.

Traffic returning from the internet still arrives through the PPPoE session. The offload device must determine that the destination belongs behind its downstream port. It then forwards the traffic toward UniFi rather than consuming the address locally.

ArcBox published the implementation in an open-source repository. The project uses an OpenWrt hotplug trigger, a main shell script, DHCP configuration, proxy ARP behavior, and packet-filtering rules to coordinate the handoff.

A hotplug script runs when the PPPoE interface comes online. That event-driven design matters because provider sessions can reconnect and receive a different address. The configuration must repeat the handoff whenever the WAN state changes.

The repository supports between one and three PPPoE instances. Its example uses a Banana Pi BPI-R4 Pro and a dual-WAN configuration, although ArcBox says other OpenWrt-compatible hardware can work after interface names are adjusted.

According to ArcBox, this arrangement exceeded 5,000 Mbps in its tests. The repository makes a broader claim that suitable hardware can push more than 3,000 Mbps through various UniFi gateways. Neither claim has received a published independent replication with equivalent equipment.

The offload device’s hardware remains crucial. Moving PPPoE from one underperforming processor to another weak processor would only relocate the bottleneck. ArcBox’s selected platform includes a networking-oriented MediaTek system-on-chip designed for accelerated forwarding.

OpenWrt describes hardware flow offloading as a way to send eligible traffic through a packet-processing engine instead of the full CPU-intensive firewall path. Its offloading guide also warns that hardware support varies by platform.

That warning prevents an easy generalization. “Runs OpenWrt” does not mean “accelerates PPPoE at 5 Gbps.” Drivers, chipset support, firmware version, network topology, and enabled features determine whether the fast path actually handles the traffic.

Flow offloading can also conflict with traffic control. OpenWrt notes that hardware offloading is incompatible with some quality-of-service features, including Smart Queue Management. Operators can gain throughput while losing access to packet handling that reduces congestion-related latency.

The public-IP handoff introduces another unusual behavior. ArcBox says UniFi’s address resolution required static neighbor entries on OpenWrt for reliable communication. Address Resolution Protocol, or ARP, maps an IPv4 address to a device’s Ethernet address on the local link.

ArcBox characterizes the additional entries as a workaround for UniFi behavior. That description remains the project author’s interpretation. Ubiquiti has not publicly validated the implementation or accepted ArcBox’s characterization in the cited materials.

The scripts also add operational dependencies that an integrated gateway avoids. A PPPoE reconnect, address change, interface rename, boot-order problem, or firewall change can interrupt the handoff. Monitoring must cover both devices and the state between them.

The design is clever because it preserves the gateway’s useful role. It is complicated because the public address appears to belong downstream while the provider session terminates upstream. Support teams and future administrators must understand that split.

The Fix Challenges UniFi’s Integrated Gateway Promise

The real opponent is not UniFi versus OpenWrt, but integrated simplicity versus specialized packet-processing performance.

UniFi’s appeal rests partly on consolidation. Administrators can manage switching, wireless access, routing, traffic visibility, and security through a consistent interface. Adding an external PPPoE appliance weakens that advantage, even when the UniFi gateway remains in control.

ArcBox’s approach does not replace UniFi’s firewall or controller. It introduces a specialized front end for one protocol. That distinction explains why the project can appeal to users who want to retain their existing configuration and public-address behavior.

The workaround also exposes the limits of product labels. “Pro,” “Max,” and “Enterprise” suggest increasing capacity, but protocol-specific acceleration does not necessarily follow the same hierarchy. ArcBox argues that some higher-end platforms lack the relevant hardware path.

That claim needs model-by-model verification. Chipset names alone do not describe every optimization in firmware, drivers, or packet-processing software. Yet the reported gap between ordinary routing capacity and PPPoE throughput is consistent with Ubiquiti’s own warning about CPU demand.

The Cloud Gateway Fiber offers the clearest counterexample within the same product family. Ubiquiti lists dual 10-gigabit WAN-capable interfaces and 5 Gbps IDS and IPS throughput. ArcBox says that model also passes its 5 Gbps PPPoE threshold.

If repeatable, that result suggests hardware selection can resolve the problem inside the UniFi ecosystem. Some users may prefer migrating to a gateway with the needed acceleration instead of maintaining an external half-bridge.

Others already own expensive gateways or require capabilities associated with another model. For them, inserting a focused offload device can be less disruptive than replacing the central appliance. The calculation involves more than maximum throughput.

OpenWrt represents another route, not a uniform competitor. An administrator could replace UniFi routing completely with an OpenWrt system, a dedicated firewall distribution, or another router that performs well under PPPoE. That option gives up different parts of the integrated experience.

A provider-side change offers the cleanest outcome. DHCP-based IP over Ethernet removes the customer gateway’s PPPoE workload. However, subscribers usually cannot dictate the provider’s access architecture, and migration availability varies by network.

The hacker news discussion highlighted this geographic variation. One commenter reported a 4 Gbps symmetric fiber service using PPPoE and a VLAN in the Netherlands. Other commenters said Xfinity does not use PPPoE and disputed the original article’s reference to AT&T Fiber.

Those objections are substantial. Xfinity’s cable network should not be presented as a representative PPPoE deployment. The correction does not invalidate ArcBox’s measured problem, but it weakens the post’s attempt to describe how widely the workaround applies.

The distinction between access technology and subscriber session technology also deserves care. Fiber, cable, and DSL describe physical or link architectures, while providers can choose different authentication and address-assignment systems above them. A fiber connection can use PPPoE, but fiber does not imply PPPoE.

That nuance shifts the purchasing question. A multi-gigabit subscriber should not ask only whether a gateway has 10-gigabit ports. The buyer must also ask whether the device accelerates the provider’s required WAN protocol while running the desired security features.

Hardware specifications rarely make that answer obvious. Published throughput figures may reflect routing, IDS and IPS, VPN performance, or carefully defined packet sizes. PPPoE performance can remain undocumented.

ArcBox’s work pressures vendors to publish protocol-specific results. A gateway advertised for multi-gigabit connections should disclose meaningful limits under PPPoE, DHCP, traffic identification, threat prevention, and QoS. Buyers otherwise discover the boundary after deployment.

What the 5 Gbps Claim Still Does Not Establish

ArcBox has published a useful implementation and a plausible result, but not a complete benchmark proving universal performance.

The most important uncertainty is reproducibility. The article presents speed ranges and a successful threshold, yet it does not provide enough raw data to compare latency, packet loss, CPU utilization, packet sizes, or sustained performance.

A speed-test result can reflect the selected server, client capacity, parallel connection count, and route conditions. Multi-gigabit browser tests can also become client-bound. A convincing evaluation would include several tools and controlled traffic generation across repeatable workloads.

Small-packet performance deserves separate testing. Reaching 5 Gbps with large packets does not guarantee the same packet-per-second capacity for DNS traffic, voice calls, gaming, or attack traffic. Those workloads can stress forwarding paths differently.

Upload and download results should also appear separately. Encapsulation and decapsulation follow different directions, while queueing and driver behavior can be asymmetric. A combined headline figure hides those distinctions.

The security boundary needs examination. UniFi still receives the public IPv4 address and performs firewalling, according to ArcBox. However, the OpenWrt device remains directly involved in every internet packet and runs scripts with control over interfaces and filtering.

That makes software maintenance on the offload device part of the network’s security model. Administrators must update OpenWrt, review the scripts, restrict management access, and verify firewall defaults. The device is not merely a transparent cable.

The repository uses the AGPL-3.0 license and exposes its configuration for inspection. Public code improves auditability, but publication alone does not constitute a security review. Deployment teams remain responsible for understanding the commands and their consequences.

Failure behavior is another open question. Operators need to know what happens when PPPoE reconnects, DHCP renewal fails, the public address changes, or UniFi boots before the offload device. A fast design that requires manual repair after routine outages carries a different operational cost.

IPv6 also requires separate treatment. The published explanation focuses heavily on public IPv4 handoff. Providers may deliver IPv6 through prefix delegation tied to the PPP session, and the downstream delegation path needs its own documented validation.

Multi-WAN increases the state space. ArcBox’s repository supports several sessions, but failover requires more than bringing multiple interfaces online. Route selection, health checks, source-address behavior, port forwarding, and session recovery must remain consistent.

The static neighbor workaround is particularly important. Manual ARP state can solve a specific reachability problem, but it also creates another dependency on interface identity and address changes. Independent testers should verify whether every supported UniFi release needs the same adjustment.

Hardware offloading introduces feature tradeoffs. OpenWrt warns that accelerated paths can bypass processing needed by some QoS systems. Users must confirm whether their desired traffic accounting, shaping, or inspection remains available on the offload device.

The UniFi gateway still performs its own services after the handoff. If Threat Management, DPI, or QoS already limits the gateway below the target speed, PPPoE offload will not remove that second bottleneck. Each processing stage needs isolated measurement.

There is also no official compatibility commitment. Ubiquiti could change DHCP, ARP, or WAN behavior in a future release. OpenWrt could change interface or firewall behavior. ArcBox’s scripts would then need maintenance.

None of these questions makes the concept unsound. They define the difference between a successful lab or office deployment and a generally supportable network architecture. The project is strongest as a testable engineering proposal.

The safest interpretation is narrow. ArcBox says it moved PPPoE processing off a UDM Pro Max, kept the public IPv4 address on UniFi, and crossed 5 Gbps using a BPI-R4 Pro. Independent replication is still needed before treating that result as a universal fix.

Three Signals Will Decide Whether the Hacker News Fix Holds Up

Independent benchmarks, operational evidence, and vendor response will determine whether half-bridge offloading becomes a durable pattern.

The first signal is reproducible testing. Other users need to publish results using the same UniFi gateway, a comparable OpenWrt device, and a documented 5 Gbps or faster PPPoE service.

Useful tests should identify firmware versions, packet sizes, enabled security features, client hardware, and speed-test methods. They should report both directions, CPU load per core, latency under load, and recovery after session interruption.

Successful replication would strengthen ArcBox’s central claim that PPPoE termination is the binding constraint. Materially lower or unstable results would suggest that the original environment benefited from conditions not captured in the article.

The second signal is evidence from longer deployments. A half-bridge must survive provider reconnects, address changes, software updates, and power cycles without manual intervention. Several months of operation would reveal more than another peak throughput screenshot.

Operators should watch DHCP lease behavior, ARP stability, IPv6 delegation, multi-WAN failover, and remote access. They should also document whether UniFi updates change the required static neighbor configuration.

Stable operation would move the project from an interesting workaround toward a repeatable infrastructure pattern. Frequent recovery work would make gateway replacement or provider IP passthrough more attractive.

The third signal is Ubiquiti’s response. The company could publish PPPoE-specific benchmarks, clarify which gateways contain acceleration, or improve software handling on models without dedicated hardware.

Clear specifications would help buyers match a gateway to their provider. Firmware improvements could raise performance even if they cannot reproduce a purpose-built acceleration engine. Silence would leave community testing as the primary source of guidance.

Hardware launches matter too. If future UniFi gateways consistently include PPPoE acceleration, the half-bridge becomes a bridge between product generations. If support remains limited, external termination can persist as a practical design for demanding connections.

The hacker news debate has already improved the story by separating the valid technical mechanism from exaggerated market context. ArcBox’s ISP examples deserved correction, while its architecture remains available for inspection and testing.

That is the right standard for evaluating this project. Do not adopt it because one headline says “5 Gbps,” and do not dismiss it because PPPoE is uncommon in parts of the United States.

First confirm that the provider requires PPPoE. Then measure the gateway with its real security and traffic features enabled. Finally, compare those results with a controlled half-bridge test and document how the network recovers from failure.

For readers following the hacker news discussion, the next useful contribution is not another argument about whether PPPoE should exist. It is a reproducible benchmark showing where the bottleneck sits, which features survive offloading, and whether the two-device design remains stable.

Give every agent the context to do better work

Connect your agents to the knowledge, decisions, and history already organized in remio.

remio currently supports Windows 10+ (x64) and Macs with Apple silicon.

Your AI Partner at Work
Get more done with remio

Plan. Create. Deliver.
All in one place.

bottom of page