The ESP32 Captive Portal uses DNS hijacking to trigger a pop-up web page on the client's device each time it connects to the ESP32's access point. The ESP32 sets up an access point with an IP address and gateway of 172.217.8.1
and a subnet mask of 255.255.255.0
. It then creates an HTTP web server on port 80
to handle all HTTP GET requests, regardless of the endpoint. Additionally, it establishes a DNS server on port 53
to intercept incoming DNS queries. For every DNS query, the ESP32's DNS server responds with the IP address 172.217.8.1
.
-
Notifications
You must be signed in to change notification settings - Fork 0
johndeweyzxc/ESP32-Web-Captive-Portal
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ESP32 Web Captive Portal using DNS Hijacking technique
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published