jonask1337 / esp-lwip

ESP-IDF lwIP library with NAT
Other
53 stars 10 forks source link

captive portal #3

Open AlphaArslan opened 5 years ago

AlphaArslan commented 5 years ago

Hi there Thanks for the great contribution we really appreciate that.

I'm trying to build on your code by adding captive portal to it. Can you help me with any tips or directions ?

thanks <3

AlphaArslan commented 5 years ago

Captive Portal that allows the user to access the internet. something like what you would see in hotels and so

jonask1337 commented 5 years ago

Hi, this might be what you are looking for: https://github.com/tonyp7/esp32-wifi-manager

You could use this (or a similiar example to create a webserver on the esp) and my WiFi-Extender example (https://github.com/jonask1337/esp-idf-nat-example) to get started...

AlphaArslan commented 5 years ago

I'm kinda a newbie, so I will check on that and let you know about what happens

thanks for replying <3

AlphaArslan commented 5 years ago

Hi I have been working with the example you provided here https://github.com/jonask1337/esp-idf-nat-example/tree/ab495ceb6e006b92ae89ebccc49530ddc504cbe0

And I think I have a better understanding now. So there is routing happening between the two sides of the ESP (first side: station connected to my home wifi || second side: default gateway of AP)

the question is, can I interfere in that routing so specific devices always get redirected to a specific website ?