How to get the requested url in NAPT range extender for NodeMCU ESP8266 with Arduino framework?

159 Views Asked by At

I have a NodeMCU ESP8266 WiFi development board.

I was using the RangeExtender-NAPT example sketch in Arduino IDE for ESP8266WiFi library. You can find the code here too.

It works great. I was able to connect to the ESP AP and was able to use internet. I want to implement the features below on it, but could not figure out how to do that.

  1. I want to access the URLs requested by the user connected to the ESP access point. In simple terms, I want to monitor my ESP NAT router.

  2. I want to block some IP or domain names or URLs. How can I do that?

  3. I want do all this with the Arduino framework. (meaning, I don't want to use ESP-IDF, MicroPython, or CircuitPython).

Thanks in advance.

It would be also ok if the solution works for ESP32, ESP32 S2, ESP32 S3 instead of ESP8266. I have those boards too.

0

There are 0 best solutions below