Hello to all
Hardware: ESP 32 + W 5500 Module
Software: PlatformIO + Visual Studio Code
Libraries used: WireGuard-ESP32.h + EthernetWebServer.h
You can see the above libraries in the following links on github.
I can connect to Wireguard VPN Server using WiFi connection and WireGuard-ESP32.h library and everything works fine and sending and receiving data is fine.
When using the EthernetWebServer.h library, the device is connected to the Internet and can be seen and pinged in the Local network, and even when connected to the Wireguard VPN Server, the function wg.is_initialized() returns the value 1, but in sending and receiving data There is a problem.
Where do you think the problems are?
the WireGuard library works on the lwip tcp/ip stack of the esp32 (so on WiFi or SoftAP or MAC peripheral of the esp32) .
the Ethernet library uses tcp/ip stack in the firmware of the W5500.
so those are too separate networking stacks.
@khoih-prog I meant the network interface code, not lwip.
I see it bundled in your library. I didn't find it in the core
libraries/WebServer_ESP32_W5500/src/w5500/esp_eth