Page 1 of 1

Limit Webserver-access in APSTA-Mode

Posted: Mon Jul 25, 2022 2:00 pm
by CloudsEder
Hello everyone,

I am using an esp32 with esp-idf that runs an webserver for configuration and sends data via mqtt. So the ESP is running in APSTA-mode. This way the webserver can be reached by devices connected to the AP as well as those, who are part of the same network as the esp in station mode. For my system I would like to lock the connectivity via the station-mode, so that the webserver is only available for those devices that are connected to the AP.

Is there possibility to do so?
Thanks in advance

Re: Limit Webserver-access in APSTA-Mode

Posted: Mon Jul 25, 2022 2:18 pm
by user91829
I believe you can check the ip address of the client and respond likewise.

Re: Limit Webserver-access in APSTA-Mode

Posted: Thu Jul 28, 2022 5:40 am
by CloudsEder
Thanks for the tip. Did that and it's working, while it's not the elegant solution I would've loved.