When you use VPN, DNS Cloudflare and DNS Rebinding Attack Protection in GL.iNet routers, you may not be able to access the portal authentication page.
This project aims to handle this type of situation without leaking your data. It automatically detects portal AP, allowing authentication pages to pass firewall and DNS authentication without changing the DNS and VPN function manually. After the authentication is complete, the normal policy is restored.
We decided to make it opensource. Feel free to test and modify the code here https://github.com/gl-inet/portal-detection.