: If you are still running the original Wifidog on OpenWrt 19.07 or later, opkg update && opkg install apfree-wifidog and prepare to be amazed. Your users (and your CPU) will thank you. This article is based on the state of apfree-wifidog as of 2024. For the latest source code and documentation, refer to the official GitHub repository.
Introduction: The Evolution of Public Wi-Fi Authentication For over a decade, the "captive portal" has been the gatekeeper of public Wi-Fi. Whether in a coffee shop, airport, or stadium, users have grown accustomed to that abrupt pop-up asking for a password, an email address, or a terms-of-service agreement. The legacy standard for open-source captive portals has long been Wifidog —a robust but aging protocol developed in the early 2000s. apfree-wifidog
Apfree-wifidog represents a philosophical shift: By leveraging nftables, asynchronous I/O, and intelligent session management, it transforms a $30 home router into a carrier-grade captive portal gateway capable of serving hundreds of concurrent users. : If you are still running the original
This article dives deep into the technical architecture, performance optimizations, and real-world deployment strategies of apfree-wifidog, explaining why it is rapidly replacing the original Wifidog in modern OpenWrt and LEDE environments. To understand the significance of apfree-wifidog, one must first understand the pain points of its predecessor. For the latest source code and documentation, refer