jonask1337 / esp-idf-nat-example

ESP-IDF example project with NAT setup.
83 stars 15 forks source link

esp-idf v4.1-beta2 esp_netif support #14

Open nebkat opened 4 years ago

nebkat commented 4 years ago

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

jonask1337 commented 3 years ago

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.