Pushing WireGuard on macOS to 5+ Gbit/s
Summary
Firezone's blog post documents optimizing WireGuard on macOS to surpass 5 Gbit/s, detailing kernel-based TUN/UDP processing, backpressure, and batching strategies. It explains how XNU's UDP send behavior differs from Linux, the importance of connected sockets and backpressure restoration, and the measured throughput gains on M1 Macs. The piece is a practical, in-depth case study of high-performance VPN design for Apple platforms.