Open MahdiBabaie opened 1 year ago
Hi @MahdiBabaie : i'm not sure that it is working with W5500 but it does with LAN8720
Line 924 of wireguardif.c
Original :tcpip_adapter_get_netif(TCPIP_ADAPTER_IF_STA, &underlying_netif);
Replacement :underlying_netif = netif_default; // Use current netif as the underlying netif of the WireGuard interface.
See for information :
https://github.com/ciniml/WireGuard-ESP32-Arduino/compare/main...15_fix_crash_with_eth
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. https://github.com/ciniml/WireGuard-ESP32-Arduino https://github.com/khoih-prog/EthernetWebServer 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?