Esp-idf: Do you have a plan to add "nat" function (IDFGH-146)

Created on 20 Jan 2018  路  19Comments  路  Source: espressif/esp-idf

I want to use esp32 to make a wifi repeater.I'm trying to add napt in lwip library.But there is something wrong.Here is my demo.https://github.com/donny681/esp32_repeater
I know that esp8266 have a project about wifi repeater.https://github.com/martin-ger/esp_wifi_repeater.I think that it also should work in esp32.
Do you have a plan to add nat in lwip?

Most helpful comment

Would love to see that.

All 19 comments

Hi @donny681 based on current feature plan, we don't plan to add nat in idf v3.1. We have put this feature into our future feature list, may consider implement it in idf v4.0.

@liuzfesp Great,When do you publish idf v4.0? Because I have a project which needs it.Can you publish a test version.I think that just changing the lwip.

@donny681 currently we are developing for v3.1, for v4.0, I can't promise you a exact time, it should be 2 or 3 months later. For test version, I hope I can got some time to do it after back from Spring Festival.

We would need NAT for our project, too. Since IDF v3.1 is released now, it would be great if you could integrate the feature in your planning for v4.0.

We also are in need of NAT, is there an updated status for the planning?

@crc1021 the NAT feature is still not ready in IDF. In short term, I'm afraid we have no plan to support it.

Adding a +1 for wanting a NAT feature.

Add another +1 for wanting a NAT feature.

Add another +1 for wanting a NAT feature.

Waiting for NAT feature too

Have a look at this: https://github.com/jonask1337/esp-lwip

What is the difference between that one and yours (https://github.com/martin-ger/lwip_nat_arduino) ?

It is based on the same code base, but it has be integrated into the latest esp-idf version of the lwip-lib.

really? Is there a documentation oder anything? I can鈥榯 find a hint that it has been added.

It is not officially added. This is a private effort to port the NAT feature to the ESP32.

+1 ... any good news about NAT support in current ESP-IDF version?

Hey all.
+1 about NAT feature.

Any plans/news about NAT support on the ESP-IDF 4 version?

Hi all, it seems like the NAT functionality is a very desirable and useful feature and have to consider adding it into esp-lwip.

@martin-ger Thanks for your effort to support the community! Would you mind if your commits were taken in to the Espressif lwip repo?

Would love to see that.

Was this page helpful?
0 / 5 - 0 ratings