Bỏ qua đến nội dung chính
Back to home
Tech 3 min read

Fixing UniFi PPPoE Performance Bottlenecks via Half-Bridge Solution

The PPPoE Half-Bridge solution from Arcbox completely resolves throughput degradation on Ubiquiti UniFi routers, allowing users to maximize their fiber internet bandwidth without being throttled by single-threaded CPU processing.

Tier 2 · sources 51% confidence Reviewed
Sources arcbox.dev

An open-source project from developer Arcbox (published on arcbox.dev) has introduced a workaround to resolve PPPoE (Point-to-Point Protocol over Ethernet) performance bottlenecks on Ubiquiti's UniFi router lineup. By leveraging a PPPoE Half-Bridge mechanism, this solution allows users to optimize their internet speeds without being restricted by the device's CPU processing limits. This comes as highly welcomed news for the global UniFi community, particularly in regions where PPPoE remains a mandatory ISP connection standard.

Context & Root Causes

Many users of UniFi hardware—such as the UDM, UDM Pro, and USG—have long complained about significant drops in network throughput when switching to PPPoE connections required by their ISPs. The core issue lies in how UniFi OS processes PPPoE packets.

Instead of utilizing hardware offloading, PPPoE packet encapsulation and decapsulation tasks are handled single-threaded directly by the CPU. When resource-intensive security features like IDS/IPS or Smart Queues are enabled, the CPU quickly becomes overloaded. This chokes actual throughput even when the physical connection is capable of much higher speeds.

Technical Analysis & Technology

The solution developed by Arcbox addresses this issue by implementing a PPPoE Half-Bridge mechanism. Instead of requiring the UniFi router to directly establish and maintain the resource-heavy PPPoE session, an intermediate device or a specialized configuration handles this task.

This setup then forwards the public IP address received from the ISP directly to the UniFi WAN port as a standard DHCP or Static IP connection. As a result, the UniFi router can fully utilize its default hardware offloading for standard IP packets, completely offloading the PPPoE processing burden from the router's CPU.

Expert Opinions & Perspectives

Following active discussions on forums like Hacker News, this solution immediately gained significant traction among network engineers and tech enthusiasts. Many experts point out that Ubiquiti's delay in optimizing PPPoE for its hardware has been a major drawback for years, causing its premium product line to underperform in real-world scenarios.

The 'Half-Bridge' workaround developed by Arcbox is seen as a highly creative approach, enabling users to maintain high routing performance without sacrificing the advanced security features of the UniFi ecosystem. However, some professionals advise users to thoroughly understand their network architecture before deploying this solution to avoid routing anomalies or unintended security risks.

Impact & Future Outlook

The release of Arcbox's solution offers a new path forward for those struggling with PPPoE performance on UniFi without having to switch to alternative brands. In countries like Vietnam, where many Internet Service Providers (ISPs) still utilize PPPoE for residential and small business fiber connections, this technology promises to fully unlock throttled high-speed internet packages. Looking ahead, the community hopes Ubiquiti will recognize this solution and officially integrate similar optimization algorithms into upcoming UniFi OS firmware updates, delivering a seamless experience without requiring complex manual workarounds.