Show HN: We Fixed UniFi's Slow PPPoE Performance with PPPoE Half-Bridge
4 hours ago
- UniFi gateways like UDM Pro/SE/Pro Max and EFG lack PPPoE hardware acceleration, limiting PPPoE throughput to 1200-2400 Mbps.
- PPPoE's single-threaded processing on most routers causes performance bottlenecks, especially with a single session.
- PPPoE Half-Bridge offloads PPPoE dialing to a dedicated device, allowing the main router to avoid CPU load and improve speed.
- OpenWrt's hotplug mechanism can implement PPPoE Half-Bridge by handling PPPoE dialing and handing public IPv4 via DHCP.
- The solution involves disabling NAT, reading PPPoE IP, setting up DHCP with proper subnet, and adding static ARP for UniFi gateways.
- A Banana Pi BPI-R4 Pro running OpenWrt was tested, achieving over 5000 Mbps PPPoE throughput via this method.