Page 1 of 1

Redirecting everything to Captive Portal when device using Access Point

Posted: Mon Jan 15, 2024 1:39 pm
by Coffeeye
Hello!,

I've setup http server on my esp32 and now I'am configuring Access Point.

My goal is that everything my android browser try to connect with,
redirect me to the ip set in :arrow: "esp_netif_set_ip_info and esp_netif_set_dns_info"

How do I do that ?
Becouse now I can only see my http_server when I directly type that IP and a lots of spam
(due to logs from captive portal example) in the console when I try connect to google.com :geek:

Re: Redirecting everything to Captive Portal when device using Access Point

Posted: Tue Jan 16, 2024 9:13 am
by Coffeeye
I managed to make Captive Portal using :arrow: wifi-captive-portal-esp-idf
But idk why it works for sites like google.com
But when I refresh site like bard.google.com it wont open captive portal, ideas ?