I’m using Husarnet with an ESP32 (and the Husarnet Arduino core) to enable remote OTA updates and it’s working fantastically with built-in WiFi. However, I now wish to add Ethernet connectivity for my project. My hardware is supported by the Arduino Ethernet library, but I’m unsure how to integrate the Husarnet server and client libraries with Ethernet. Does anyone know of a solution to this?
Hi, to be honest I haven’t tested ESP32 with Ethernet and Husarnet so far, so it’s hard to say whether will it work out of the box, or does it need any extra tweaking.
While reviewing part responsible for ESP32, it looks like only WiFi option is available, but you never know until you try - https://github.com/husarnet/husarnet/tree/master/esp32 (Husarnet Client recently was open sourced).
This infographics shows nicely how to convert AsyncTCP based project working in LAN, to the project working over internet with Husarnet VPN https://husarnet.com/iot#fb-easy-to-integrate
Unfortunately I don’t have esp32 with ethernet to check how that configuration works .