esp-idf-nat-example icon indicating copy to clipboard operation
esp-idf-nat-example copied to clipboard

esp-idf v4.1-beta2 esp_netif support

Open nebkat opened this issue 5 years ago • 1 comments

Now that the LWIP patches have been merged in v4.1-beta2 it is possible to run this compile this example without modifications, however it does not appear to work with the new esp_netif system which has replaced tcpip_adapter, and unusually the new esp_event system also seems to be preventing it from working. Has anyone had any success enabling NAT with the latest WiFi sample code? https://github.com/espressif/esp-idf/blob/master/examples/wifi/getting_started/station/main/station_example_main.c

nebkat avatar Jun 30 '20 18:06 nebkat

The esp-nat-router project is a more recent and advanced NAT router project for the ESP32 using the esp_netif system. I tried it with ESP-IDF v4.2.1 and had no problems.

jonask1337 avatar May 19 '21 15:05 jonask1337