When you connect to a WiFi network e.g. hotels or in public places, there will generally be a Captive portal page asking you for authorization information. If you don't get authorized in the portal page, you will not be able to use the Internet.
When you use a WiFi router to connect to such networks, there are more things to deal with in order to let the portal page pop up correctly. You need to:
- Disable all VPN connections in the router.
- Disable DNS rebind protection. This is generally true but not for all portal.
- Disable DNS encryption. In GL.iNet routers there are CloudFlare DNS.
But if you use the router to protect data privacies, when you do the above, your data will be leaked.
This program is used to solve this problem by manipulating the firewall without disabling your VPN and DNS protection manually while not leaking your data.
How it works
The program tries to detect if there is any WiFi portal page. If there is, it will allow the portal page to pass firewall and DNS encryption so that it will pop up in your client device connected to the router. After you authorize via the portal the firewall policy will be restored.
The source code is here
While discussion from GL is here
I am not sure how this works in a generic openwrt built but I assume it should, maybe with minor modifications.