Openwrt router detects portal AP in repeater mode


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,You can use and modify, at the same time, give me some advice and suggestions.

1 Like