Common issues
As we have explored so far, the OPNsense Captive Portal implementation works pretty well, but things in life are not always a bed of roses. We sometimes face issues while using the Captive Portal, such as HTTPS URLs' redirection to the Captive Portal authentication page, as I mentioned previously in this chapter.
I will mention some common issues we need to handle daily with our CloudFence support team. Of course, you might find dozens of issues on the official forum, but it will not be possible to cover each one here as we have a limited number of pages for this chapter.
HTTPS page redirection while using the Captive Portal
We have two different approaches to try to address this issue, as outlined next.
Using DNS
This is an effective way for most modern mobile devices to access specific DNS entries while detecting a Captive Portal before going out to the internet. It might also work with most modern desktop browsers too. This technique consists of...