Openwrt router detects portal AP in repeater mode

Hi,all,

When openwrt router uses VPN,DNS Cloudflare and DNS Rebinding Attack Protection, It may not be able to access the portal authentication page,I wrote a script to handle this type of situation,and it automatically detects portal AP, allowing authentication pages to pass firewall and DNS authentication without authentication,after the authentication is complete, the normal policy is restored.

However, I was unable to test the actual usage scenarios one by one.I put the script source code on https://github.com/gl-inet/portal-detection,You can use and modify, at the same time, give me some advice and suggestions.
Thanks

1 Like